GetCurrentProcessId function kernel32

int GetCurrentProcessId()

Retrieves the process identifier of the calling process.

DWORD GetCurrentProcessId();

Implementation

int GetCurrentProcessId() => _GetCurrentProcessId();