Funktionreferenz


_WinAPI_GetPEType


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

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

Parameter

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

Rückgabewert

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

Bemerkungen

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