dxgi: Implement d3d12_swapchain_ResizeBuffers().
[wine.git] / dlls / fltmgr.sys / main.c
blob16ca2845c26872c52cd1b4228a234d836ba32c51
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 NTSTATUS WINAPI FltRegisterFilter( PDRIVER_OBJECT driver, const FLT_REGISTRATION *reg, PFLT_FILTER *filter )
48 FIXME( "(%p,%p,%p): stub\n", driver, reg, filter );
50 if(filter)
51 *filter = UlongToHandle(0xdeadbeaf);
53 return STATUS_SUCCESS;
56 NTSTATUS WINAPI FltStartFiltering( PFLT_FILTER filter )
58 FIXME( "(%p): stub\n", filter );
60 return STATUS_SUCCESS;
63 void WINAPI FltUnregisterFilter( PFLT_FILTER filter )
65 FIXME( "(%p): stub\n", filter );
68 void* WINAPI FltGetRoutineAddress(LPCSTR name)
70 static const WCHAR fltmgrW[] = {'f','l','t','m','g','r','.','s','y','s',0};
71 HMODULE mod = GetModuleHandleW(fltmgrW);
72 void *func;
74 func = GetProcAddress(mod, name);
75 if (func)
76 TRACE( "%s -> %p\n", debugstr_a(name), func );
77 else
78 FIXME( "%s not found\n", debugstr_a(name) );
80 return func;