kernel32: Fix the DLL check in GetBinaryTypeW().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51375 Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
11d6c52f32
commit
02268cb290
|
@ -190,7 +190,7 @@ BOOL WINAPI GetBinaryTypeW( LPCWSTR name, LPDWORD type )
|
|||
status = NtQuerySection( mapping, SectionImageInformation, &info, sizeof(info), NULL );
|
||||
CloseHandle( mapping );
|
||||
if (status) return FALSE;
|
||||
if (!(info.ImageCharacteristics & IMAGE_FILE_DLL)) return FALSE;
|
||||
if (info.ImageCharacteristics & IMAGE_FILE_DLL) return FALSE;
|
||||
switch (info.Machine)
|
||||
{
|
||||
case IMAGE_FILE_MACHINE_I386:
|
||||
|
|
Loading…
Reference in New Issue