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 Values

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

Library Rtx_Rtss.lib
IntervalZero.com | Support | Give Feedback