Changeset 81140 in vbox for trunk/include/iprt
- Timestamp:
- Oct 8, 2019 9:55:14 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/system.h
r81137 r81140 299 299 300 300 /** 301 * Enumeration for a system firmware property.302 */ 303 typedef enum RTSYSFW PRPOP301 * Boolean firmware values queriable via RTSystemQueryFirmwareBoolean(). 302 */ 303 typedef enum RTSYSFWBOOL 304 304 { 305 305 /** Invalid property, do not use. */ 306 RTSYSFW PROP_INVALID = 0,306 RTSYSFWBOOL_INVALID = 0, 307 307 /** Whether Secure Boot is enabled or not (type: boolean). */ 308 RTSYSFW PROP_SECURE_BOOT,308 RTSYSFWBOOL_SECURE_BOOT, 309 309 /** End of valid */ 310 RTSYSFW PROP_END,310 RTSYSFWBOOL_END, 311 311 /** The usual 32-bit hack. */ 312 RTSYSFW PROP_32_BIT_HACK = 0x7fffffff313 } RTSYSFW PROP;312 RTSYSFWBOOL_32_BIT_HACK = 0x7fffffff 313 } RTSYSFWBOOL; 314 314 315 315 /** … … 318 318 * @returns IPRT status code. 319 319 * @retval VERR_NOT_SUPPORTED if we cannot query firmware properties on the host. 320 * @retval VERR_SYS_UNSUPPORTED_FIRMWARE_PROPERTY if @a enm Propisn't320 * @retval VERR_SYS_UNSUPPORTED_FIRMWARE_PROPERTY if @a enmBoolean isn't 321 321 * supported. 322 * @param enm Prop The property to query the value of.322 * @param enmBoolean The value to query. 323 323 * @param pfValue Where to return the value. 324 324 */ 325 RTDECL(int) RTSystemQueryFirmwareBoolean(RTSYSFW PROP enmProp, bool *pfValue);325 RTDECL(int) RTSystemQueryFirmwareBoolean(RTSYSFWBOOL enmBoolean, bool *pfValue); 326 326 327 327 #ifdef RT_OS_WINDOWS
Note:
See TracChangeset
for help on using the changeset viewer.