mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 20:59:54 +00:00
A NULL module handle means 'main exe' in GetProcAddress too.
This commit is contained in:
parent
4a40b2eefb
commit
f315d8b0c4
@ -810,6 +810,8 @@ FARPROC WINAPI GetProcAddress( HMODULE hModule, LPCSTR function )
|
||||
NTSTATUS nts;
|
||||
FARPROC fp;
|
||||
|
||||
if (!hModule) hModule = NtCurrentTeb()->Peb->ImageBaseAddress;
|
||||
|
||||
if (HIWORD(function))
|
||||
{
|
||||
ANSI_STRING str;
|
||||
|
Loading…
Reference in New Issue
Block a user