mirror of
https://github.com/reactos/reactos.git
synced 2024-09-28 21:44:31 +00:00
[User32] Fix incorrect check.
Use Lo Word instead of Intersource check. Fix wine user32 tests.
This commit is contained in:
parent
037c744eb1
commit
83f86b8fdb
|
@ -156,7 +156,7 @@ RtlGetExpWinVer( HMODULE hModule )
|
||||||
DWORD dwMinorVersion = 10;
|
DWORD dwMinorVersion = 10;
|
||||||
PIMAGE_NT_HEADERS pinth;
|
PIMAGE_NT_HEADERS pinth;
|
||||||
|
|
||||||
if ( hModule && !((ULONG_PTR)hModule >> 16))
|
if ( hModule && !LOWORD( ((ULONG_PTR)hModule) ))
|
||||||
{
|
{
|
||||||
pinth = RtlImageNtHeader( hModule );
|
pinth = RtlImageNtHeader( hModule );
|
||||||
if ( pinth )
|
if ( pinth )
|
||||||
|
|
Loading…
Reference in a new issue