GetBinaryType function kernel32
Determines whether a file is an executable (.exe) file, and if so, which subsystem runs the executable file.
BOOL GetBinaryTypeW(
LPCWSTR lpApplicationName,
LPDWORD lpBinaryType);
Implementation
int GetBinaryType(
Pointer<Utf16> lpApplicationName, Pointer<Uint32> lpBinaryType) =>
_GetBinaryType(lpApplicationName, lpBinaryType);