From 2cd05a37568db5c59bca76a3aae6e29e5c520b6e Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Wed, 30 Apr 2025 10:29:02 +0300 Subject: [PATCH] [NDK] Update SYSTEM_INFORMATION_CLASS See https://www.geoffchappell.com/studies/windows/km/ntoskrnl/inc/api/ntexapi/system_information_class.htm and Windows 10/11 pdb files --- ntoskrnl/ex/sysinfo.c | 42 ++--- sdk/include/ndk/extypes.h | 373 +++++++++++++++++++++++++++----------- 2 files changed, 292 insertions(+), 123 deletions(-) diff --git a/ntoskrnl/ex/sysinfo.c b/ntoskrnl/ex/sysinfo.c index 3acbcb95ffc..f3aa2457a8a 100644 --- a/ntoskrnl/ex/sysinfo.c +++ b/ntoskrnl/ex/sysinfo.c @@ -1559,7 +1559,7 @@ QSI_DEF(SystemInterruptInformation) } /* Class 24 - DPC Behaviour Information */ -QSI_DEF(SystemDpcBehaviourInformation) +QSI_DEF(SystemDpcBehaviorInformation) { PSYSTEM_DPC_BEHAVIOR_INFORMATION sdbi = (PSYSTEM_DPC_BEHAVIOR_INFORMATION)Buffer; @@ -1576,10 +1576,10 @@ QSI_DEF(SystemDpcBehaviourInformation) return STATUS_SUCCESS; } -SSI_DEF(SystemDpcBehaviourInformation) +SSI_DEF(SystemDpcBehaviorInformation) { /* FIXME */ - DPRINT1("NtSetSystemInformation - SystemDpcBehaviourInformation not implemented\n"); + DPRINT1("NtSetSystemInformation - SystemDpcBehaviorInformation not implemented\n"); return STATUS_NOT_IMPLEMENTED; } @@ -1755,11 +1755,11 @@ QSI_DEF(SystemSummaryMemoryInformation) return STATUS_NOT_IMPLEMENTED; } -/* Class 30 - Next Event Id Information */ -QSI_DEF(SystemNextEventIdInformation) +/* Class 30 - Memory mirroring Information */ +QSI_DEF(SystemMirrorMemoryInformation) { /* FIXME */ - DPRINT1("NtQuerySystemInformation - SystemNextEventIdInformation not implemented\n"); + DPRINT1("NtQuerySystemInformation - SystemMirrorMemoryInformation not implemented\n"); return STATUS_NOT_IMPLEMENTED; } @@ -1771,11 +1771,11 @@ QSI_DEF(SystemPerformanceTraceInformation) return STATUS_NOT_IMPLEMENTED; } -/* Class 32 - Crash Dump Information */ -QSI_DEF(SystemCrashDumpInformation) +/* Class 32 - Obsolete (previously: Crash Dump Information) */ +QSI_DEF(SystemObsolete0) { /* FIXME */ - DPRINT1("NtQuerySystemInformation - SystemCrashDumpInformation not implemented\n"); + DPRINT1("NtQuerySystemInformation - SystemObsolete0 not implemented\n"); return STATUS_NOT_IMPLEMENTED; } @@ -2353,7 +2353,7 @@ SSI_DEF(SystemVerifierThunkExtend) } /* Class 53 - A session's processes */ -QSI_DEF(SystemSessionProcessesInformation) +QSI_DEF(SystemSessionProcessInformation) { /* FIXME */ DPRINT1("NtQuerySystemInformation - SystemSessionProcessInformation not implemented\n"); @@ -2361,7 +2361,7 @@ QSI_DEF(SystemSessionProcessesInformation) } /* Class 54 - Load & map in system space */ -SSI_DEF(SystemLoadGdiDriverInSystemSpaceInformation) +SSI_DEF(SystemLoadGdiDriverInSystemSpace) { /* Similar to SystemLoadGdiDriverInformation */ return SSI_USE(SystemLoadGdiDriverInformation)(Buffer, Size); @@ -2835,10 +2835,10 @@ struct _QSSI_CALLS // XS Set // XX unknown behaviour // -#define SI_QS(n) {QSI_USE(n),SSI_USE(n)} -#define SI_QX(n) {QSI_USE(n),NULL} -#define SI_XS(n) {NULL,SSI_USE(n)} -#define SI_XX(n) {NULL,NULL} +#define SI_QS(n) [n] = {QSI_USE(n),SSI_USE(n)} +#define SI_QX(n) [n] = {QSI_USE(n),NULL} +#define SI_XS(n) [n] = {NULL,SSI_USE(n)} +#define SI_XX(n) [n] = {NULL,NULL} static QSSI_CALLS @@ -2868,15 +2868,15 @@ CallQS[] = SI_QS(SystemFileCacheInformation), SI_QX(SystemPoolTagInformation), SI_QX(SystemInterruptInformation), - SI_QS(SystemDpcBehaviourInformation), + SI_QS(SystemDpcBehaviorInformation), SI_QX(SystemFullMemoryInformation), /* it should be SI_XX */ SI_XS(SystemLoadGdiDriverInformation), SI_XS(SystemUnloadGdiDriverInformation), SI_QS(SystemTimeAdjustmentInformation), SI_QX(SystemSummaryMemoryInformation), /* it should be SI_XX */ - SI_QX(SystemNextEventIdInformation), /* it should be SI_XX */ + SI_QX(SystemMirrorMemoryInformation), /* it should be SI_XX */ SI_QX(SystemPerformanceTraceInformation), /* it should be SI_XX */ - SI_QX(SystemCrashDumpInformation), + SI_QX(SystemObsolete0), SI_QX(SystemExceptionInformation), SI_QX(SystemCrashDumpStateInformation), SI_QX(SystemKernelDebuggerInformation), @@ -2897,8 +2897,8 @@ CallQS[] = SI_QX(SystemRangeStartInformation), SI_QS(SystemVerifierInformation), SI_XS(SystemVerifierThunkExtend), - SI_QX(SystemSessionProcessesInformation), - SI_XS(SystemLoadGdiDriverInSystemSpaceInformation), + SI_QX(SystemSessionProcessInformation), + SI_XS(SystemLoadGdiDriverInSystemSpace), SI_QX(SystemNumaProcessorMap), SI_QX(SystemPrefetcherInformation), SI_QX(SystemExtendedProcessInformation), @@ -2918,7 +2918,7 @@ CallQS[] = SI_XX(SystemWatchdogTimerHandler), /* FIXME: not implemented */ SI_XX(SystemWatchdogTimerInformation), /* FIXME: not implemented */ SI_QX(SystemLogicalProcessorInformation), - SI_XX(SystemWow64SharedInformation), /* FIXME: not implemented */ + SI_XX(SystemWow64SharedInformationObsolete), /* FIXME: not implemented */ SI_XX(SystemRegisterFirmwareTableInformationHandler), /* FIXME: not implemented */ SI_QX(SystemFirmwareTableInformation), }; diff --git a/sdk/include/ndk/extypes.h b/sdk/include/ndk/extypes.h index 07bf7ae468f..d3f36301768 100644 --- a/sdk/include/ndk/extypes.h +++ b/sdk/include/ndk/extypes.h @@ -214,108 +214,277 @@ typedef enum _HARDERROR_RESPONSE // typedef enum _SYSTEM_INFORMATION_CLASS { - SystemBasicInformation, - SystemProcessorInformation, - SystemPerformanceInformation, - SystemTimeOfDayInformation, - SystemPathInformation, /// Obsolete: Use KUSER_SHARED_DATA - SystemProcessInformation, - SystemCallCountInformation, - SystemDeviceInformation, - SystemProcessorPerformanceInformation, - SystemFlagsInformation, - SystemCallTimeInformation, - SystemModuleInformation, - SystemLocksInformation, - SystemStackTraceInformation, - SystemPagedPoolInformation, - SystemNonPagedPoolInformation, - SystemHandleInformation, - SystemObjectInformation, - SystemPageFileInformation, - SystemVdmInstemulInformation, - SystemVdmBopInformation, - SystemFileCacheInformation, - SystemPoolTagInformation, - SystemInterruptInformation, - SystemDpcBehaviorInformation, - SystemFullMemoryInformation, - SystemLoadGdiDriverInformation, - SystemUnloadGdiDriverInformation, - SystemTimeAdjustmentInformation, - SystemSummaryMemoryInformation, - SystemMirrorMemoryInformation, - SystemPerformanceTraceInformation, - SystemObsolete0, - SystemExceptionInformation, - SystemCrashDumpStateInformation, - SystemKernelDebuggerInformation, - SystemContextSwitchInformation, - SystemRegistryQuotaInformation, - SystemExtendServiceTableInformation, - SystemPrioritySeperation, - SystemPlugPlayBusInformation, - SystemDockInformation, - SystemPowerInformationNative, - SystemProcessorSpeedInformation, - SystemCurrentTimeZoneInformation, - SystemLookasideInformation, - SystemTimeSlipNotification, - SystemSessionCreate, - SystemSessionDetach, - SystemSessionInformation, - SystemRangeStartInformation, - SystemVerifierInformation, - SystemAddVerifier, - SystemSessionProcessesInformation, - SystemLoadGdiDriverInSystemSpaceInformation, - SystemNumaProcessorMap, - SystemPrefetcherInformation, - SystemExtendedProcessInformation, - SystemRecommendedSharedDataAlignment, - SystemComPlusPackage, - SystemNumaAvailableMemory, - SystemProcessorPowerInformation, - SystemEmulationBasicInformation, - SystemEmulationProcessorInformation, - SystemExtendedHandleInformation, - SystemLostDelayedWriteInformation, - SystemBigPoolInformation, - SystemSessionPoolTagInformation, - SystemSessionMappedViewInformation, - SystemHotpatchInformation, - SystemObjectSecurityMode, - SystemWatchDogTimerHandler, - SystemWatchDogTimerInformation, - SystemLogicalProcessorInformation, - SystemWow64SharedInformationObsolete, - SystemRegisterFirmwareTableInformationHandler, - SystemFirmwareTableInformation, - SystemModuleInformationEx, - SystemVerifierTriageInformation, - SystemSuperfetchInformation, - SystemMemoryListInformation, - SystemFileCacheInformationEx, - SystemThreadPriorityClientIdInformation, - SystemProcessorIdleCycleTimeInformation, - SystemVerifierCancellationInformation, - SystemProcessorPowerInformationEx, - SystemRefTraceInformation, - SystemSpecialPoolInformation, - SystemProcessIdInformation, - SystemErrorPortInformation, - SystemBootEnvironmentInformation, - SystemHypervisorInformation, - SystemVerifierInformationEx, - SystemTimeZoneInformation, - SystemImageFileExecutionOptionsInformation, - SystemCoverageInformation, - SystemPrefetchPathInformation, - SystemVerifierFaultsInformation, - SystemSystemPartitionInformation, - SystemSystemDiskInformation, - MaxSystemInfoClass, -} SYSTEM_INFORMATION_CLASS; + SystemBasicInformation = 0, // 0x0 + SystemProcessorInformation = 1, // 0x1 + SystemPerformanceInformation = 2, // 0x2 + SystemTimeOfDayInformation = 3, // 0x3 + SystemPathInformation = 4, // 0x4 - Obsolete: Use KUSER_SHARED_DATA + SystemProcessInformation = 5, // 0x5 + SystemCallCountInformation = 6, // 0x6 + SystemDeviceInformation = 7, // 0x7 + SystemProcessorPerformanceInformation = 8, // 0x8 + SystemFlagsInformation = 9, // 0x9 + SystemCallTimeInformation = 10, // 0xA + SystemModuleInformation = 11, // 0xB + SystemLocksInformation = 12, // 0xC + SystemStackTraceInformation = 13, // 0xD + SystemPagedPoolInformation = 14, // 0xE + SystemNonPagedPoolInformation = 15, // 0xF + SystemHandleInformation = 16, // 0x10 + SystemObjectInformation = 17, // 0x11 + SystemPageFileInformation = 18, // 0x12 + SystemVdmInstemulInformation = 19, // 0x13 + SystemVdmBopInformation = 20, // 0x14 + SystemFileCacheInformation = 21, // 0x15 + SystemPoolTagInformation = 22, // 0x16 + SystemInterruptInformation = 23, // 0x17 + SystemDpcBehaviorInformation = 24, // 0x18 + SystemFullMemoryInformation = 25, // 0x19 + SystemLoadGdiDriverInformation = 26, // 0x1A + SystemUnloadGdiDriverInformation = 27, // 0x1B + SystemTimeAdjustmentInformation = 28, // 0x1C + SystemSummaryMemoryInformation = 29, // 0x1D + SystemMirrorMemoryInformation = 30, // 0x1E + SystemPerformanceTraceInformation = 31, // 0x1F + SystemObsolete0 = 32, // 0x20 + SystemExceptionInformation = 33, // 0x21 + SystemCrashDumpStateInformation = 34, // 0x22 + SystemKernelDebuggerInformation = 35, // 0x23 + SystemContextSwitchInformation = 36, // 0x24 + SystemRegistryQuotaInformation = 37, // 0x25 + SystemExtendServiceTableInformation = 38, // 0x26 + SystemPrioritySeperation = 39, // 0x27 + SystemVerifierAddDriverInformation = 40, // 0x28 + SystemVerifierRemoveDriverInformation = 41, // 0x29 + SystemProcessorIdleInformation = 42, // 0x2A + SystemLegacyDriverInformation = 43, // 0x2B + SystemCurrentTimeZoneInformation = 44, // 0x2C + SystemLookasideInformation = 45, // 0x2D + SystemTimeSlipNotification = 46, // 0x2E + SystemSessionCreate = 47, // 0x2F + SystemSessionDetach = 48, // 0x30 + SystemSessionInformation = 49, // 0x31 + SystemRangeStartInformation = 50, // 0x32 + SystemVerifierInformation = 51, // 0x33 + SystemVerifierThunkExtend = 52, // 0x34 - Win 11: SystemVerifierReserved + SystemSessionProcessInformation = 53, // 0x35 + SystemLoadGdiDriverInSystemSpace = 54, // 0x36 + SystemNumaProcessorMap = 55, // 0x37 + SystemPrefetcherInformation = 56, // 0x38 + SystemExtendedProcessInformation = 57, // 0x39 + SystemRecommendedSharedDataAlignment = 58, // 0x3A + SystemComPlusPackage = 59, // 0x3B + SystemNumaAvailableMemory = 60, // 0x3C + SystemProcessorPowerInformation = 61, // 0x3D + SystemEmulationBasicInformation = 62, // 0x3E + SystemEmulationProcessorInformation = 63, // 0x3F + SystemExtendedHandleInformation = 64, // 0x40 + SystemLostDelayedWriteInformation = 65, // 0x41 + SystemBigPoolInformation = 66, // 0x42 + SystemSessionPoolTagInformation = 67, // 0x43 + SystemSessionMappedViewInformation = 68, // 0x44 + SystemHotpatchInformation = 69, // 0x45 + SystemObjectSecurityMode = 70, // 0x46 + SystemWatchdogTimerHandler = 71, // 0x47 + SystemWatchdogTimerInformation = 72, // 0x48 + SystemLogicalProcessorInformation = 73, // 0x49 + SystemWow64SharedInformationObsolete = 74, // 0x4A + SystemRegisterFirmwareTableInformationHandler = 75, // 0x4B + SystemFirmwareTableInformation = 76, // 0x4C + +#if (NTDDI_VERSION >= NTDDI_VISTA) || defined(__REACTOS__) + SystemModuleInformationEx = 77, // 0x4D + SystemVerifierTriageInformation = 78, // 0x4E + SystemSuperfetchInformation = 79, // 0x4F + SystemMemoryListInformation = 80, // 0x50 + SystemFileCacheInformationEx = 81, // 0x51 + SystemThreadPriorityClientIdInformation = 82, // 0x52 + SystemProcessorIdleCycleTimeInformation = 83, // 0x53 + SystemVerifierCancellationInformation = 84, // 0x54 + SystemProcessorPowerInformationEx = 85, // 0x55 + SystemRefTraceInformation = 86, // 0x56 + SystemSpecialPoolInformation = 87, // 0x57 + SystemProcessIdInformation = 88, // 0x58 + SystemErrorPortInformation = 89, // 0x59 + SystemBootEnvironmentInformation = 90, // 0x5A + SystemHypervisorInformation = 91, // 0x5B + SystemVerifierInformationEx = 92, // 0x5C + SystemTimeZoneInformation = 93, // 0x5D + SystemImageFileExecutionOptionsInformation = 94, // 0x5E + SystemCoverageInformation = 95, // 0x5F + SystemPrefetchPatchInformation = 96, // 0x60 + SystemVerifierFaultsInformation = 97, // 0x61 + SystemSystemPartitionInformation = 98, // 0x62 + SystemSystemDiskInformation = 99, // 0x63 + SystemProcessorPerformanceDistribution = 100, // 0x64 + SystemNumaProximityNodeInformation = 101, // 0x65 + SystemDynamicTimeZoneInformation = 102, // 0x66 + SystemCodeIntegrityInformation = 103, // 0x67 + SystemProcessorMicrocodeUpdateInformation = 104, // 0x68 + SystemProcessorBrandString = 105, // 0x69 + SystemVirtualAddressInformation = 106, // 0x6A +#endif // (NTDDI_VERSION >= NTDDI_VISTA) + +#if (NTDDI_VERSION >= NTDDI_WIN7) || defined(__REACTOS__) + SystemLogicalProcessorAndGroupInformation = 107, // 0x6B + SystemProcessorCycleTimeInformation = 108, // 0x6C + SystemStoreInformation = 109, // 0x6D + SystemRegistryAppendString = 110, // 0x6E + SystemAitSamplingValue = 111, // 0x6F + SystemVhdBootInformation = 112, // 0x70 + SystemCpuQuotaInformation = 113, // 0x71 + SystemNativeBasicInformation = 114, // 0x72 + SystemErrorPortTimeouts = 115, // 0x73 + SystemLowPriorityIoInformation = 116, // 0x74 + SystemBootEntropyInformation = 117, // 0x75 + SystemVerifierCountersInformation = 118, // 0x76 + SystemPagedPoolInformationEx = 119, // 0x77 + SystemSystemPtesInformationEx = 120, // 0x78 + SystemNodeDistanceInformation = 121, // 0x79 + SystemAcpiAuditInformation = 122, // 0x7A + SystemBasicPerformanceInformation = 123, // 0x7B + SystemQueryPerformanceCounterInformation = 124, // 0x7C +#endif // (NTDDI_VERSION >= NTDDI_WIN7) + +#if (NTDDI_VERSION >= NTDDI_WIN8) + SystemSessionBigPoolInformation = 125, // 0x7D + SystemBootGraphicsInformation = 126, // 0x7E + SystemScrubPhysicalMemoryInformation = 127, // 0x7F + SystemBadPageInformation = 128, // 0x80 + SystemProcessorProfileControlArea = 129, // 0x81 + SystemCombinePhysicalMemoryInformation = 130, // 0x82 + SystemEntropyInterruptTimingInformation = 131, // 0x83 + SystemConsoleInformation = 132, // 0x84 + SystemPlatformBinaryInformation = 133, // 0x85 + SystemThrottleNotificationInformation = 134, // 0x86 - 6.2 only + SystemPolicyInformation = 134, // 0x86 - 6.3 and higher + SystemHypervisorProcessorCountInformation = 135, // 0x87 + SystemDeviceDataInformation = 136, // 0x88 + SystemDeviceDataEnumerationInformation = 137, // 0x89 + SystemMemoryTopologyInformation = 138, // 0x8A + SystemMemoryChannelInformation = 139, // 0x8B + SystemBootLogoInformation = 140, // 0x8C + SystemProcessorPerformanceInformationEx = 141, // 0x8D + SystemSpare0 = 142, // 0x8E - 6.2 to 1511 + SystemCriticalProcessErrorLogInformation = 142, // 0x8E - 1607 and higher + SystemSecureBootPolicyInformation = 143, // 0x8F + SystemPageFileInformationEx = 144, // 0x90 + SystemSecureBootInformation = 145, // 0x91 + SystemEntropyInterruptTimingRawInformation = 146, // 0x92 + SystemPortableWorkspaceEfiLauncherInformation = 147, // 0x93 + SystemFullProcessInformation = 148, // 0x94 +#endif // (NTDDI_VERSION >= NTDDI_WIN8) + +#if (NTDDI_VERSION >= NTDDI_WINBLUE) + SystemKernelDebuggerInformationEx = 149, // 0x95 + SystemBootMetadataInformation = 150, // 0x96 + SystemSoftRebootInformation = 151, // 0x97 + SystemElamCertificateInformation = 152, // 0x98 + SystemOfflineDumpConfigInformation = 153, // 0x99 + SystemProcessorFeaturesInformation = 154, // 0x9A + SystemRegistryReconciliationInformation = 155, // 0x9B + SystemEdidInformation = 156, // 0x9C +#endif // (NTDDI_VERSION >= NTDDI_WINBLUE) + +#if (NTDDI_VERSION >= NTDDI_WIN10) + SystemManufacturingInformation = 157, // 0x9D + SystemEnergyEstimationConfigInformation = 158, // 0x9E + SystemHypervisorDetailInformation = 159, // 0x9F + SystemProcessorCycleStatsInformation = 160, // 0xA0 + SystemVmGenerationCountInformation = 161, // 0xA1 + SystemTrustedPlatformModuleInformation = 162, // 0xA2 + SystemKernelDebuggerFlags = 163, // 0xA3 + SystemCodeIntegrityPolicyInformation = 164, // 0xA4 + SystemIsolatedUserModeInformation = 165, // 0xA5 + SystemHardwareSecurityTestInterfaceResultsInformation = 166, // 0xA6 + SystemSingleModuleInformation = 167, // 0xA7 + SystemAllowedCpuSetsInformation = 168, // 0xA8 + SystemVsmProtectionInformation = 169, // 0xA9 - aka SystemDmaProtectionInformation + SystemInterruptCpuSetsInformation = 170, // 0xAA + SystemSecureBootPolicyFullInformation = 171, // 0xAB + SystemCodeIntegrityPolicyFullInformation = 172, // 0xAC + SystemAffinitizedInterruptProcessorInformation = 173, // 0xAD + SystemRootSiloInformation = 174, // 0xAE + SystemCpuSetInformation = 175, // 0xAF + SystemCpuSetTagInformation = 176, // 0xB0 + SystemWin32WerStartCallout = 177, // 0xB1 + SystemSecureKernelProfileInformation = 178, // 0xB2 + SystemCodeIntegrityPlatformManifestInformation = 179, // 0xB3 + SystemInterruptSteeringInformation = 180, // 0xB4 + SystemSupportedProcessorArchitectures = 181, // 0xB5 + SystemMemoryUsageInformation = 182, // 0xB6 + SystemCodeIntegrityCertificateInformation = 183, // 0xB7 + SystemPhysicalMemoryInformation = 184, // 0xB8 + SystemControlFlowTransition = 185, // 0xB9 + SystemKernelDebuggingAllowed = 186, // 0xBA + SystemActivityModerationExeState = 187, // 0xBB + SystemActivityModerationUserSettings = 188, // 0xBC + SystemCodeIntegrityPoliciesFullInformation = 189, // 0xBD + SystemCodeIntegrityUnlockInformation = 190, // 0xBE + SystemIntegrityQuotaInformation = 191, // 0xBF + SystemFlushInformation = 192, // 0xC0 + SystemProcessorIdleMaskInformation = 193, // 0xC1 + SystemSecureDumpEncryptionInformation = 194, // 0xC2 + SystemWriteConstraintInformation = 195, // 0xC3 + SystemKernelVaShadowInformation = 196, // 0xC4 + SystemHypervisorSharedPageInformation = 197, // 0xC5 + SystemFirmwareBootPerformanceInformation = 198, // 0xC6 + SystemCodeIntegrityVerificationInformation = 199, // 0xC7 + SystemFirmwarePartitionInformation = 200, // 0xC8 + SystemSpeculationControlInformation = 201, // 0xC9 + SystemDmaGuardPolicyInformation = 202, // 0xCA + SystemEnclaveLaunchControlInformation = 203, // 0xCB + SystemWorkloadAllowedCpuSetsInformation = 204, // 0xCC + SystemCodeIntegrityUnlockModeInformation = 205, // 0xCD + SystemLeapSecondInformation = 206, // 0xCE + SystemFlags2Information = 207, // 0xCF + SystemSecurityModelInformation = 208, // 0xD0 + SystemCodeIntegritySyntheticCacheInformation = 209, // 0xD1 + SystemFeatureConfigurationInformation = 210, // 0xD2 + SystemFeatureConfigurationSectionInformation = 211, // 0xD3 + SystemFeatureUsageSubscriptionInformation = 212, // 0xD4 + SystemSecureSpeculationControlInformation = 213, // 0xD5 + SystemSpacesBootInformation = 214, // 0xD6 + SystemFwRamdiskInformation = 215, // 0xD7 + SystemWheaIpmiHardwareInformation = 216, // 0xD8 + SystemDifSetRuleClassInformation = 217, // 0xD9 + SystemDifClearRuleClassInformation = 218, // 0xDA + SystemDifApplyPluginVerificationOnDriver = 219, // 0xDB + SystemDifRemovePluginVerificationOnDriver = 220, // 0xDC + SystemShadowStackInformation = 221, // 0xDD + SystemBuildVersionInformation = 222, // 0xDE + SystemPoolLimitInformation = 223, // 0xDF + SystemCodeIntegrityAddDynamicStore = 224, // 0xE0 + SystemCodeIntegrityClearDynamicStores = 225, // 0xE1 + SystemDifPoolTrackingInformation = 226, // 0xE2 - Win 11 + SystemPoolZeroingInformation = 227, // 0xE3 +#endif // (NTDDI_VERSION >= NTDDI_WIN10) + +#if (NTDDI_VERSION >= NTDDI_WIN11) + SystemDpcWatchdogInformation = 228, // 0xE4 + SystemDpcWatchdogInformation2 = 229, // 0xE5 + SystemSupportedProcessorArchitectures2 = 230, // 0xE6 + SystemSingleProcessorRelationshipInformation = 231, // 0xE7 + SystemXfgCheckFailureInformation = 232, // 0xE8 + SystemIommuStateInformation = 233, // 0xE9 + SystemHypervisorMinrootInformation = 234, // 0xEA + SystemHypervisorBootPagesInformation = 235, // 0xEB + SystemPointerAuthInformation = 236, // 0xEC + SystemSecureKernelDebuggerInformation = 237, // 0xED + SystemOriginalImageFeatureInformation = 238, // 0xEE + SystemMemoryNumaInformation = 239, // 0xEF + SystemMemoryNumaPerformanceInformation = 240, // 0xF0 + SystemCodeIntegritySignedPoliciesFullInformation = 241, // 0xF1 + SystemSecureSecretsInformation = 242, // 0xF2 + SystemTrustedAppsRuntimeInformation = 243, // 0xF3 + SystemBadPageInformationEx = 244, // 0xF4 + SystemResourceDeadlockTimeout = 245, // 0xF5 + SystemBreakOnContextUnwindFailureInformation = 246, // 0xF6 + SystemOslRamdiskInformation = 247, // 0xF7 +#endif // (NTDDI_VERSION >= NTDDI_WIN11) + + MaxSystemInfoClass +} SYSTEM_INFORMATION_CLASS, *PSYSTEM_INFORMATION_CLASS; // // System Information Classes for NtQueryMutant