|
GetFirmwareType function
Retrieves the firmware type of the local computer.
Syntax
BOOL WINAPI GetFirmwareType(
_Inout_ PFIRMWARE_TYPE FirmwareType
);
Parameters
FirmwareType [in, out]
A pointer to a FIRMWARE_TYPE enumeration.
Return value
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.
Requirements
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Header Winbase.h (include Windows.h)
Library Kernel32.lib
DLL Kernel32.dll
typedef enum _FIRMWARE_TYPE {
FirmwareTypeUnknown = 0,
FirmwareTypeBios = 1,
FirmwareTypeUefi = 2,
FirmwareTypeMax = 3
} FIRMWARE_TYPE, *PFIRMWARE_TYPE; |
评分
-
查看全部评分
|