GetCurrentProcessId

GetCurrentProcessId returns the process identifier of the calling process.

Syntax

Copy
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.

Requirements

Minimum supported version Header Library

eRTOS 1.0 SDK

windows.h rtkrnl.lib

See Also: