GetCurrentProcessId

GetCurrentProcessId returns the process identifier of the calling process.

Syntax

DWORD GetCurrentProcessId(VOID);

Parameters

This function has no parameters.

Return Values

The process identifier of the calling process.

Remarks

Until the process terminates, the process identifier uniquely identifies the process throughout the system.

RTSSrun returns the value of the current process ID. In the RTSS environment, this is equivalent to the RTSS slot number.

Requirements

Library Rtx_Rtss.lib

See Also:

RtOpenProcess

IntervalZero.com | Support | Give Feedback