mirror of
https://github.com/reactos/reactos.git
synced 2024-12-18 16:43:27 +08:00
[NDK] "Reserved" member in SYSTEM_PROCESSOR_INFORMATION is "MaximumProcessors" for Windows 8+ (#3421)
Co-authored-by: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>
This commit is contained in:
parent
b1bf3aae50
commit
35f3034879
@ -657,7 +657,11 @@ QSI_DEF(SystemProcessorInformation)
|
||||
Spi->ProcessorArchitecture = KeProcessorArchitecture;
|
||||
Spi->ProcessorLevel = KeProcessorLevel;
|
||||
Spi->ProcessorRevision = KeProcessorRevision;
|
||||
#if (NTDDI_VERSION < NTDDI_WIN8)
|
||||
Spi->Reserved = 0;
|
||||
#else
|
||||
Spi->MaximumProcessors = 0;
|
||||
#endif
|
||||
Spi->ProcessorFeatureBits = KeFeatureBits;
|
||||
|
||||
DPRINT("Arch %u Level %u Rev 0x%x\n", Spi->ProcessorArchitecture,
|
||||
|
@ -756,7 +756,11 @@ typedef struct _SYSTEM_PROCESSOR_INFORMATION
|
||||
USHORT ProcessorArchitecture;
|
||||
USHORT ProcessorLevel;
|
||||
USHORT ProcessorRevision;
|
||||
#if (NTDDI_VERSION < NTDDI_WIN8)
|
||||
USHORT Reserved;
|
||||
#else
|
||||
USHORT MaximumProcessors;
|
||||
#endif
|
||||
ULONG ProcessorFeatureBits;
|
||||
} SYSTEM_PROCESSOR_INFORMATION, *PSYSTEM_PROCESSOR_INFORMATION;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user