GetCurrentProcessId

GetCurrentProcessId returns the process identifier of the calling process.

Syntax

DWORD GetCurrentProcessId(VOID);

Parameters

This function has no parameters.

Return Value

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.

Requirements

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

See Also:

RtOpenProcess