Retrieves the processor group and number of the logical processor in which the calling thread is running.
void GetCurrentProcessorNumberEx( PPROCESSOR_NUMBER ProcNumber );
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.
If the function succeeds, the ProcNumber parameter contains the group and processor number of the processor on which the calling thread is running.
To compile an application that uses this function, set _WIN32_WINNT >= 0x0601. For more information, see Using the Windows Headers.
|Minimum supported client||Windows 7 [desktop apps | UWP apps]|
|Minimum supported server||Windows Server 2008 R2 [desktop apps | UWP apps]|
|Header||processthreadsapi.h (include Windows.h)|