EN
Dieser Inhalt ist in Ihrer Sprache leider nicht verfügbar. Im Folgenden finden Sie die englische Version.

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

WinBase.h on Windows XP, Windows Server 2003, Windows Vista, Windows 7, Windows Server 2008, and Windows Server 2008 R2 (include Windows.h);
Systemtopologyapi.h on Windows 8 and Windows Server 2012

Library

Kernel32.lib

DLL

Kernel32.dll

See also

GetNumaNodeProcessorMask
NUMA Support
Process and Thread Functions

 

 

Community-Beiträge

HINZUFÜGEN
Anzeigen:
© 2014 Microsoft