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:
Michael Stefaniuc 2020-10-01 23:26:24 +02:00 committed by Alexandre Julliard
parent e58b42d48d
commit b231650925

View file

@ -82,8 +82,7 @@ void WINAPI FltUnregisterFilter( PFLT_FILTER filter )
void* WINAPI FltGetRoutineAddress(LPCSTR name) void* WINAPI FltGetRoutineAddress(LPCSTR name)
{ {
static const WCHAR fltmgrW[] = {'f','l','t','m','g','r','.','s','y','s',0}; HMODULE mod = GetModuleHandleW(L"fltmgr.sys");
HMODULE mod = GetModuleHandleW(fltmgrW);
void *func; void *func;
func = GetProcAddress(mod, name); func = GetProcAddress(mod, name);