fltmgr.sys: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e58b42d48d
commit
b231650925
|
@ -82,8 +82,7 @@ void WINAPI FltUnregisterFilter( PFLT_FILTER filter )
|
|||
|
||||
void* WINAPI FltGetRoutineAddress(LPCSTR name)
|
||||
{
|
||||
static const WCHAR fltmgrW[] = {'f','l','t','m','g','r','.','s','y','s',0};
|
||||
HMODULE mod = GetModuleHandleW(fltmgrW);
|
||||
HMODULE mod = GetModuleHandleW(L"fltmgr.sys");
|
||||
void *func;
|
||||
|
||||
func = GetProcAddress(mod, name);
|
||||
|
|
Loading…
Reference in New Issue