Function Reference


_WinAPI_GetPEType

Retrieves a type of the machine for the specified portable executable (PE)

#include <WinAPIFiles.au3>
_WinAPI_GetPEType ( $sFilePath )

Parameters

$sFilePath The full path of the PE whose machine type is to be retrieved.

Return Value

Success: The machine type ($IMAGE_FILE_MACHINE_*).
Failure: 0 and sets the @error flag to non-zero.

Remarks

$IMAGE_FILE_MACHINE_* constants require #include <APIFilesConstants.au3>