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
24 #define WIN32_NO_STATUS
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
);
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 static const WCHAR fltmgrW
[] = {'f','l','t','m','g','r','.','s','y','s',0};
86 HMODULE mod
= GetModuleHandleW(fltmgrW
);
89 func
= GetProcAddress(mod
, name
);
91 TRACE( "%s -> %p\n", debugstr_a(name
), func
);
93 FIXME( "%s not found\n", debugstr_a(name
) );