INtime SDK Help
GetCurrentProcessId (iwin32)
INtime SDK v7.1 > About INtime > Alternate APIs > iwin32 API > iwin32 API > GetCurrentProcessId (iwin32)

Obtains the ID for the current process. The ID is a unique value that identifies the process but differs from a handle. A process ID can be used in OpenProcess, RtOpenProcess (iwin32), and RtOpenProcess (iwin32x).

DWORD GetCurrentProcessId(VOID);

Parameters

None.

Return Values

The process identifier of the calling process.

Requirements

Versions Defined in Include Link to
INtime 3.0 intime/rt/include/winbase.h windows.h iwin32.lib

Notes

This function operates in the real-time portion of your application.

See Also

GetCurrentProcess, OpenProcess, RtOpenProcess (iwin32) RtOpenProcess (iwin32x), iwin32 API, iwin32 Overview