VirtualBox

Changeset 81140 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Oct 8, 2019 9:55:14 AM (5 years ago)
Author:
vboxsync
Message:

IPRT/system: RTSYSFWPROP -> RTSYSFWBOOL.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/system.h

    r81137 r81140  
    299299
    300300/**
    301  * Enumeration for a system firmware property.
    302  */
    303 typedef enum RTSYSFWPRPOP
     301 * Boolean firmware values queriable via RTSystemQueryFirmwareBoolean().
     302 */
     303typedef enum RTSYSFWBOOL
    304304{
    305305    /** Invalid property, do not use. */
    306     RTSYSFWPROP_INVALID = 0,
     306    RTSYSFWBOOL_INVALID = 0,
    307307    /** Whether Secure Boot is enabled or not (type: boolean). */
    308     RTSYSFWPROP_SECURE_BOOT,
     308    RTSYSFWBOOL_SECURE_BOOT,
    309309    /** End of valid    */
    310     RTSYSFWPROP_END,
     310    RTSYSFWBOOL_END,
    311311    /** The usual 32-bit hack.  */
    312     RTSYSFWPROP_32_BIT_HACK = 0x7fffffff
    313 } RTSYSFWPROP;
     312    RTSYSFWBOOL_32_BIT_HACK = 0x7fffffff
     313} RTSYSFWBOOL;
    314314
    315315/**
     
    318318 * @returns IPRT status code.
    319319 * @retval  VERR_NOT_SUPPORTED if we cannot query firmware properties on the host.
    320  * @retval  VERR_SYS_UNSUPPORTED_FIRMWARE_PROPERTY if @a enmProp isn't
     320 * @retval  VERR_SYS_UNSUPPORTED_FIRMWARE_PROPERTY if @a enmBoolean isn't
    321321 *          supported.
    322  * @param   enmProp     The property to query the value of.
     322 * @param   enmBoolean  The value to query.
    323323 * @param   pfValue     Where to return the value.
    324324 */
    325 RTDECL(int) RTSystemQueryFirmwareBoolean(RTSYSFWPROP enmProp, bool *pfValue);
     325RTDECL(int) RTSystemQueryFirmwareBoolean(RTSYSFWBOOL enmBoolean, bool *pfValue);
    326326
    327327#ifdef RT_OS_WINDOWS
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette