KeQueryNodeActiveProcessorCount function (wdm.h)

This routine returns the number of active processors in the given NUMA node across all groups.

Syntax

ULONG KeQueryNodeActiveProcessorCount(
  [in] USHORT NodeNumber
);

Parameters

[in] NodeNumber

A value of type USHORT that specifies the node number of the node to query.

Return value

Returns a ULONG value specifying the number of active processors in the specified NUMA node or zero if an invalid node number was specified.

Requirements

Requirement Value
Minimum supported server Windows Server 2022
Header wdm.h

See also

KeQueryNodeActiveAffinity2

NUMA Support