Commit 11b0b065 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 4696a536
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment