// ntddndis.h
typedef struct _NDIS_SYSTEM_PROCESSOR_INFO_EX {
NDIS_OBJECT_HEADER Header;
ULONG Flags;
NDIS_PROCESSOR_VENDOR ProcessorVendor;
ULONG NumSockets;
ULONG NumCores;
ULONG NumCoresPerSocket;
ULONG MaxHyperThreadingProcsPerCore;
ULONG ProcessorInfoOffset;
ULONG NumberOfProcessors;
ULONG ProcessorInfoEntrySize;
} NDIS_SYSTEM_PROCESSOR_INFO_EX, *PNDIS_SYSTEM_PROCESSOR_INFO_EX;
View the official Windows Driver Kit DDI referenceNo description available.
The NDIS_SYSTEM_PROCESSOR_INFO_EX structure specifies information about the CPU topology of the local computer.
HeaderThe NDIS_OBJECT_HEADER structure for the NDIS_SYSTEM_PROCESSOR_INFO_EX structure. NDIS sets the Type member of the structure that Header specifies to NDIS_OBJECT_TYPE_DEFAULT, the Revision member to NDIS_SYSTEM_PROCESSOR_INFO_EX_REVISION_1, and the Size member to NDIS_SIZEOF_SYSTEM_PROCESSOR_INFO_EX_REVISION_1.
FlagsReserved. NDIS sets this member to zero.
ProcessorVendorThe processor vendor specified as one of the values from the NDIS_PROCESSOR_VENDOR enumeration.
NumSocketsThe total number of processor physical packages (that is, sockets on the local computer motherboard) that are in the local computer.
NumCoresThe total number of core processors that are in the local computer. For example, set this member to four if there are two dual core physical packages.
NumCoresPerSocketThe number of core processors that are in each physical package. For example, set this member to two for a dual core physical package.
MaxHyperThreadingProcsPerCoreThe maximum number of logical processors that are in each hyper-threaded core processor. For example, set this member to two if each hyper-threaded core processor supports two logical processors.
ProcessorInfoOffsetThe offset, in bytes, from the start of the structure to an array of NDIS_PROCESSOR_INFO_EX structures, with each entry describing a processor on the computer. The NumberOfProcessors member contains the number of NDIS_PROCESSOR_INFO_EX structures in the array. The ProcessorInfoEntrySize member contains the size of the NDIS_PROCESSOR_INFO_EX structures in the array.
NumberOfProcessorsThe number of elements in the array of NDIS_PROCESSOR_INFO_EX structures that follows this structure.
ProcessorInfoEntrySizeThe size, in bytes, of elements in the array of NDIS_PROCESSOR_INFO_EX structures that follows this structure.
NDIS network drivers use the NDIS_SYSTEM_PROCESSOR_INFO_EX structure in calls to the NdisGetProcessorInformationEx function. After NdisGetProcessorInformationEx returns, this structure contains information about the CPU topology of the system.