template<class character> bool get_binary_type(const character* name, unsigned* type)
This function obtains the type of a binary executable.
const character* name
The name of a binary file whose type is being queried.
A pointer to an integer that is updated to hold the type of the binary. See enumeration binary_type for the possible types.
|The function succeeded.
|The call failed.