NdisGroupActiveProcessorMask - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ndis.h

KAFFINITY NdisGroupActiveProcessorMask(
  USHORT Group
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ndis-ndisgroupactiveprocessormask)

NdisGroupActiveProcessorMask function

Description

The NdisGroupActiveProcessorMask function returns the currently active processor mask for the specified group.

Parameters

Group

A USHORT value that identifies a processor group in the local computer system.

Return value

NdisGroupActiveProcessorMask returns the currently active processor mask for the specified group as a KAFFINITY bitmap. In an environment that allows for hot-add functionality, this bitmap can change during runtime.

Remarks

An NDIS driver might call the NdisGroupActiveProcessorMask function during initialization before it allocates resources.

The KAFFINITY value that NdisGroupActiveProcessorMask returns can change at runtime on SKUs that support hot-add functionality for CPUs.

Note NDIS drivers should not use the NdisSystemProcessorCount function to retrieve the number of currently active processors. Also, NDIS 6.20 and later drivers should not use the NdisSystemActiveProcessorCount function because it only returns the processor count and provides the affinity mask as an out parameter, for processor group 0.

To obtain an active processor count, call the NdisGroupActiveProcessorCount function.

See also

NdisGroupActiveProcessorCount

NdisSystemActiveProcessorCount

NdisSystemProcessorCount