wined3d: Pass a wined3d_device_context to wined3d_cs_emit_blt_sub_resource().
[wine/zf.git] / dlls / fltmgr.sys / main.c
blobe1016a4989c77202bbe4a440f7babe2c67113aa8
1 /*
2 * fltmgr.sys
4 * Copyright 2015 Austin English
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #include <stdarg.h>
23 #include "ntstatus.h"
24 #define WIN32_NO_STATUS
25 #include "windef.h"
26 #include "winbase.h"
27 #include "winternl.h"
28 #include "ddk/fltkernel.h"
30 #include "wine/debug.h"
32 WINE_DEFAULT_DEBUG_CHANNEL(fltmgr);
34 NTSTATUS WINAPI DriverEntry( DRIVER_OBJECT *driver, UNICODE_STRING *path )
36 TRACE( "(%p, %s)\n", driver, debugstr_w(path->Buffer) );
38 return STATUS_SUCCESS;
41 void WINAPI FltInitializePushLock( EX_PUSH_LOCK *lock )
43 FIXME( "(%p): stub\n", lock );
46 void WINAPI FltDeletePushLock( EX_PUSH_LOCK *lock )
48 FIXME( "(%p): stub\n", lock );
51 void WINAPI FltAcquirePushLockExclusive( EX_PUSH_LOCK *lock )
53 FIXME( "(%p): stub\n", lock );
56 void WINAPI FltReleasePushLock( EX_PUSH_LOCK *lock )
58 FIXME( "(%p): stub\n", lock );
61 NTSTATUS WINAPI FltRegisterFilter( PDRIVER_OBJECT driver, const FLT_REGISTRATION *reg, PFLT_FILTER *filter )
63 FIXME( "(%p,%p,%p): stub\n", driver, reg, filter );
65 if(filter)
66 *filter = UlongToHandle(0xdeadbeaf);
68 return STATUS_SUCCESS;
71 NTSTATUS WINAPI FltStartFiltering( PFLT_FILTER filter )
73 FIXME( "(%p): stub\n", filter );
75 return STATUS_SUCCESS;
78 void WINAPI FltUnregisterFilter( PFLT_FILTER filter )
80 FIXME( "(%p): stub\n", filter );
83 void* WINAPI FltGetRoutineAddress(LPCSTR name)
85 HMODULE mod = GetModuleHandleW(L"fltmgr.sys");
86 void *func;
88 func = GetProcAddress(mod, name);
89 if (func)
90 TRACE( "%s -> %p\n", debugstr_a(name), func );
91 else
92 FIXME( "%s not found\n", debugstr_a(name) );
94 return func;