GetFirmwareType function (winbase.h)
Retrieves the firmware type of the local computer.
C++
BOOL GetFirmwareType(
[in, out] PFIRMWARE_TYPE FirmwareType
);
[in, out] FirmwareType
A pointer to a FIRMWARE_TYPE enumeration.
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call the GetLastError function.
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Target Platform | Windows |
Header | winbase.h (include Windows.h) |
Library | Kernel32.lib |
DLL | Kernel32.dll |