GetNumaHighestNodeNumber function
Retrieves the node that currently has the highest number.
Syntax
BOOL WINAPI GetNumaHighestNodeNumber( _Out_ PULONG HighestNodeNumber );
Parameters
- HighestNodeNumber [out]
-
The number of the highest node.
Return value
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
Remarks
The number of the highest node is not guaranteed to be the total number of nodes.
To retrieve a list of all processors in a node, use the GetNumaNodeProcessorMask function.
Examples
For an example, see Allocating Memory from a NUMA Node.
Requirements
|
Minimum supported client |
Windows Vista, Windows XP Professional x64 Edition, Windows XP with SP2 [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
Header |
|
|
Library |
|
|
DLL |
|
See also