mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-07 09:20:11 +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:
parent
e58b42d48d
commit
b231650925
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue