1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 20:06:18 +00:00

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)
{
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);