kernel32: Return the appropriate binary type for 64-bit PE files.
This commit is contained in:
parent
4696a53679
commit
11b0b0658d
|
@ -443,7 +443,7 @@ BOOL WINAPI GetBinaryTypeW( LPCWSTR lpApplicationName, LPDWORD lpBinaryType )
|
|||
break;
|
||||
}
|
||||
case BINARY_PE:
|
||||
*lpBinaryType = SCS_32BIT_BINARY;
|
||||
*lpBinaryType = (binary_type & BINARY_FLAG_64BIT) ? SCS_64BIT_BINARY : SCS_32BIT_BINARY;
|
||||
ret = TRUE;
|
||||
break;
|
||||
case BINARY_WIN16:
|
||||
|
|
Loading…
Reference in New Issue