Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
GetNumaProcessorNodeEx
Collapse the table of content
Expand the table of content

GetNumaProcessorNodeEx function

Retrieves the node number as a USHORT value for the specified logical processor.

Syntax


BOOL GetNumaProcessorNodeEx(
  _In_  PPROCESSOR_NUMBER Processor,
  _Out_ PUSHORT           NodeNumber
);

Parameters

Processor [in]

A pointer to a PROCESSOR_NUMBER structure that represents the logical processor and the processor group to which it is assigned.

NodeNumber [out]

A pointer to a variable to receive the node number. If the specified processor does not exist, this parameter is set to MAXUSHORT.

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

To compile an application that uses this function, set _WIN32_WINNT >= 0x0601. For more information, see Using the Windows Headers.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

WinBase.h (include Windows.h)

Library

Kernel32.lib

DLL

Kernel32.dll

See also

GetNumaProcessorNode
PROCESSOR_NUMBER

 

 

Community Additions

ADD
Show:
© 2015 Microsoft