Changeset 105786 in vbox for trunk/include/iprt
- Timestamp:
- Aug 21, 2024 5:27:35 PM (9 months ago)
- svn:sync-xref-src-repo-rev:
- 164498
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/system.h
r100307 r105786 399 399 RTDECL(uint8_t) RTSystemGetNtProductType(void); 400 400 401 /** 402 * Windows NT feature types. 403 */ 404 typedef enum RTSYSNTFEATURE 405 { 406 /** Invalid feature. */ 407 RTSYSNTFEATURE_INVALID = 0, 408 /** Memory integrity is a feature of the Core Isolation facility. 409 * Introduced in Windows 10. */ 410 RTSYSNTFEATURE_CORE_ISOLATION_MEMORY_INTEGRITY, 411 /** The usual 32-bit hack. */ 412 RTSYSNTFEATURE_32_BIT_HACK = 0x7fffffff 413 } RTSYSNTFEATURE; 414 /** Pointer to a Windows NT feature type. */ 415 typedef RTSYSNTFEATURE *PRTSYSNTFEATURE; 416 417 /** 418 * Queries whether an NT feature is enabled or not. 419 * 420 * @returns IPRT status code. 421 * @retval VERR_NOT_SUPPORTED if the feature is not supported on this platform. 422 * @param enmFeature Feature to query enabled status for. 423 * @param pfEnabled Where to return the enabled status on success. 424 */ 425 RTDECL(int) RTSystemQueryNtFeatureEnabled(RTSYSNTFEATURE enmFeature, bool *pfEnabled); 426 401 427 #endif /* RT_OS_WINDOWS */ 402 428
Note:
See TracChangeset
for help on using the changeset viewer.