GetCurrentProcessorNumber

GetCurrentProcessorNumber returns the system-assigned number of the current processor on which the caller is running.

Syntax

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 configured for Windows (starting with processor zero) and then processors configured for RTSS.

Requirements

Minimum Supported Version RTX64 2013
Header windows.h
Library Rtx_Rtss.lib