GetCurrentProcessId

  DWORD GetCurrentProcessId(VOID)    

The GetCurrentProcessId function returns the current process ID.

Parameters

This function has no parameters.

Return Value

The return value is the process ID of the currently running process.

See Also

GetCurrentProcess, OpenProcess