GetCurrentProcessorNumber
GetCurrentProcessorNumber returns the system-assigned number of the current processor on which the caller is running.
Syntax
Copy
DWORD GetCurrentProcessorNumber(VOID);
Parameters
This function has no parameters.
Return Value
A DWORD value that represents the processor on which the caller is currently running.
Remarks
The processor number is a system-wide and zero-based value; that is, processors are numbered starting with processors with processor zero.
Requirements
Minimum supported version | Header | Library |
---|---|---|
eRTOS 1.0 SDK |
windows.h | rtkrnl.lib |