Gets the GUID for this process.
Syntax
Parameters
pguidProcessId
[out] Returns the GUID for this process.
Return Value
If successful, returns S_OK; otherwise, returns an error code.
Remarks
The Globally Unique IDentifier (GUID) identifies this process from all other processes running in the system.