GetCurrentProcessorNumberEx function
Retrieves the processor group and number of the logical processor in which the calling thread is running.
Syntax
VOID GetCurrentProcessorNumberEx( _Out_ PPROCESSOR_NUMBER ProcNumber );
Parameters
- ProcNumber [out]
-
A pointer to a PROCESSOR_NUMBER structure that receives the processor group to which the logical processor is assigned and the number of the logical processor within its group.
Return value
If the function succeeds, the ProcNumber parameter contains the group and processor number of the processor on which the calling thread is running.
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 |
|
|
Library |
|
|
DLL |
|
Show: