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

Obtains the pseudo handle for the current process; the handle cannot be closed.

HANDLE GetCurrentProcess(VOID);




A pseudohandle is a special constant interpreted as the current process handle. When a process handle is required, the calling process can use this handle to specify its own process.

To open a real handle to itself, a process can also use OpenProcess.

When no longer needed, the pseudohandle does not need to close.

To retrieve the identifier for the current process, use GetCurrentProcessId.

Return Values

A pseudohandle to the current process.


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


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

See Also

CloseHandle, GetCurrentProcessId, GetCurrentThread, OpenProcess, iwin32 API, iwin32 Overview