// ntddndis.h
typedef struct _NDIS_PROCESSOR_INFO_EX {
PROCESSOR_NUMBER ProcNum;
ULONG SocketId;
ULONG CoreId;
ULONG HyperThreadId;
USHORT NodeId;
USHORT NodeDistance;
} NDIS_PROCESSOR_INFO_EX, *PNDIS_PROCESSOR_INFO_EX;
View the official Windows Driver Kit DDI referenceNo description available.
The NDIS_PROCESSOR_INFO_EX structure specifies information about a processor in the local computer.
ProcNumThe processor number that is assigned to the processor.
SocketIdThe socket identifier for the processor. This is the number that is assigned to the motherboard socket on the local computer. That is, it is a physical processor identifier. The possible values for this member are zero to the number of sockets on the motherboard minus one.
CoreIdThe core ID of the processor. The value is in the range from zero through the number in the NumCoresPerSocket member of the NDIS_SYSTEM_PROCESSOR_INFO_EX structure minus one.
HyperThreadIdThe hyper-threading ID of the processor. The value is in the range from zero through the number in the MaxHyperThreadingProcsPerCore member of the NDIS_SYSTEM_PROCESSOR_INFO_EX structure minus one.
NodeIdThe node identifier of the processor. This is the number of the NUMA node to which the processor belongs. This range of possible values is zero to the number of NUMA nodes on the local computer minus one.
NodeDistanceThe node distance of the processor. If the handle at the NdisHandle parameter that the caller passed to the NdisGetProcessorInformationEx function is not NULL and is a miniport adapter handle, this member contains the distance of the corresponding NIC from this processor's NUMA node. Otherwise, this member is zero for miniport drivers or USHORT_MAX (0xffff) for other drivers.
The NDIS_PROCESSOR_INFO_EX structure is used in the NDIS_SYSTEM_PROCESSOR_INFO_EX structure.