RtGetCurrentProcessorNumber

RtGetCurrentProcessorNumber returns the system-assigned number of the current processor on which the caller is running. Note that this is only supported on Real-time applications. To build a Windows and RTSS call, use GetCurrentProcessorNumber().

Syntax

DWORD RtGetCurrentProcessorNumber(VOID);

Parameters

This function has no parameters.

Return Value

A DWORD value that represents the processor on which the calling process is currently running.

Remarks

Processor numbers are zero-based values.

Requirements

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