Commit b2316509 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

fltmgr.sys: Use wide-char string literals.

parent e58b42d4
...@@ -82,8 +82,7 @@ void WINAPI FltUnregisterFilter( PFLT_FILTER filter ) ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment