EN
이 콘텐츠는 한국어로 제공되지 않아 영어 버전으로 표시됩니다.

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

WinBase.h on Windows 7 and Windows Server 2008 R2 (include Windows.h);
Processthreadsapi.h on Windows 8 and Windows Server 2012

Library

Kernel32.lib

DLL

Kernel32.dll

 

 

커뮤니티 추가 항목

추가
표시:
© 2014 Microsoft