Edit

Share via


IDebugProcess2::GetProcessId

Gets the GUID for this process.

Syntax

int GetProcessId(
   out Guid pguidProcessId
);

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.

See also