The NdisGetProcessorInformationEx function retrieves information about the CPU topology of the local computer.
NDIS_STATUS NdisGetProcessorInformationEx( _In_opt_ NDIS_HANDLE NdisHandle, _Out_opt_ PNDIS_SYSTEM_PROCESSOR_INFO_EX SystemProcessorInfo, _Inout_ PSIZE_T Size );
- NdisHandle [in, optional]
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:
- SystemProcessorInfo [out, optional]
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.
- Size [in, out]
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.
|Supported for NDIS 6.20 drivers in Windows 7.|
Build date: 5/21/2013