The NdisSystemActiveProcessorCount function returns the number of currently active processors in the local computer.
ULONG NdisSystemActiveProcessorCount( PKAFFINITY ActiveProcessors );
A pointer to a KAFFINITY-typed variable that receives a bitmap that represents the set of currently active processors. In a hot-add environment, this bitmap can change during runtime.
NdisSystemActiveProcessorCount returns the number of currently active processors in the local computer.
An NDIS driver might call the NdisSystemActiveProcessorCount function during initialization before it allocates resources.
NdisSystemActiveProcessorCount is similar to the KeQueryActiveProcessorCount function.
The Windows Server 2008 Enterprise operating system and the Windows Server 2008 Datacenter operating system support dynamic hardware partitioning. As part of dynamic hardware partitioning, Windows Server 2008 supports hot-add operations for CPUs at runtime. In a hot-add CPU environment, the number of processors might not remain constant during runtime.
|Minimum supported client||Supported in NDIS 6.1. For NDIS 6.20 and later, use NdisGroupActiveProcessorCount instead.|
|Header||ndis.h (include Ndis.h)|
Send feedback about: