kernel32: Return the appropriate binary type for 64-bit PE files.

This commit is contained in:
Alexandre Julliard 2009-10-21 18:02:30 +02:00
parent 4696a53679
commit 11b0b0658d
1 changed files with 1 additions and 1 deletions

View File

@ -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: