fltmgr.sys: Implement FltGetRoutineAddress.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
ce2080ac60
commit
a7b33a6a42
|
@ -79,7 +79,7 @@
|
|||
@ stub FltGetLowerInstance
|
||||
@ stub FltGetRequestorProcess
|
||||
@ stub FltGetRequestorProcessId
|
||||
@ stub FltGetRoutineAddress
|
||||
@ stdcall FltGetRoutineAddress(str)
|
||||
@ stub FltGetStreamContext
|
||||
@ stub FltGetStreamHandleContext
|
||||
@ stub FltGetSwappedBufferMdlAddress
|
||||
|
|
|
@ -64,3 +64,18 @@ void WINAPI FltUnregisterFilter( PFLT_FILTER filter )
|
|||
{
|
||||
FIXME( "(%p): stub\n", filter );
|
||||
}
|
||||
|
||||
void* WINAPI FltGetRoutineAddress(LPCSTR name)
|
||||
{
|
||||
static const WCHAR fltmgrW[] = {'f','l','t','m','g','r','.','s','y','s',0};
|
||||
HMODULE mod = GetModuleHandleW(fltmgrW);
|
||||
void *func;
|
||||
|
||||
func = GetProcAddress(mod, name);
|
||||
if (func)
|
||||
TRACE( "%s -> %p\n", debugstr_a(name), func );
|
||||
else
|
||||
FIXME( "%s not found\n", debugstr_a(name) );
|
||||
|
||||
return func;
|
||||
}
|
||||
|
|
|
@ -654,6 +654,7 @@ typedef struct _FLT_REGISTRATION
|
|||
} FLT_REGISTRATION, *PFLT_REGISTRATION;
|
||||
|
||||
|
||||
void* WINAPI FltGetRoutineAddress(LPCSTR name);
|
||||
NTSTATUS WINAPI FltRegisterFilter(PDRIVER_OBJECT, const FLT_REGISTRATION *, PFLT_FILTER *);
|
||||
NTSTATUS WINAPI FltStartFiltering(PFLT_FILTER);
|
||||
void WINAPI FltUnregisterFilter(PFLT_FILTER);
|
||||
|
|
Loading…
Reference in New Issue