The NdisGetProcessorInformationEx function retrieves information about the CPU topology of the local computer.
NDIS_STATUS NdisGetProcessorInformationEx( NDIS_HANDLE NdisHandle, PNDIS_SYSTEM_PROCESSOR_INFO_EX SystemProcessorInfo, PSIZE_T Size );
An NDIS driver or instance handle that was obtained during caller initialization. For example, a miniport driver can use the NDIS handle that it obtained from the NdisMRegisterMiniportDriver or MiniportInitializeEx functions. Other NDIS drivers can use the handles from the following functions:
A pointer to a caller-allocated buffer where NDIS puts the NDIS_SYSTEM_PROCESSOR_INFO_EX structure and an array of NDIS_PROCESSOR_INFO_EX structures that contain information about the CPU topology of the local computer. The caller provides the length of the buffer in the Size parameter.
A pointer to a value that is the size, in bytes, of the buffer that the caller provided. When the function returns, this value contains either the amount of data that NDIS put in the buffer or the required size of the buffer if the buffer was too short.
NdisGetProcessorInformationEx can return one of the following status values:
||The operation completed successfully.|
||The size of the buffer at the Size parameter was too small. In this case, NDIS provides the required buffer size in the Size member.|
NDIS drivers call the NdisGetProcessorInformationEx function to retrieve information about the processors on the local computer.
|Minimum supported client||Supported in NDIS 6.20 and later.|
|Header||ndis.h (include Ndis.h)|