Commit 5ae7ca0b authored by Brendan Shanks's avatar Brendan Shanks Committed by Alexandre Julliard

wow64cpu: Use RTL_CONSTANT_STRING.

parent bb2e02ab
......@@ -288,7 +288,7 @@ NTSTATUS WINAPI BTCpuProcessInit(void)
ULONG old_prot;
CONTEXT context;
HMODULE module;
UNICODE_STRING str;
UNICODE_STRING str = RTL_CONSTANT_STRING( L"ntdll.dll" );
void **p__wine_unix_call_dispatcher;
WOW64INFO *wow64info = NtCurrentTeb()->TlsSlots[WOW64_TLS_WOW64INFO];
......@@ -300,7 +300,6 @@ NTSTATUS WINAPI BTCpuProcessInit(void)
wow64info->CpuFlags |= WOW64_CPUFLAGS_MSFT64;
RtlInitUnicodeString( &str, L"ntdll.dll" );
LdrGetDllHandle( NULL, 0, &str, &module );
p__wine_unix_call_dispatcher = RtlFindExportedRoutineByName( module, "__wine_unix_call_dispatcher" );
......
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