ICorPublish::GetProcess Method
Gets an ICorPublishProcess instance that represents the process with the specified identifier.
HRESULT GetProcess(
[in] unsigned pid,
[out] ICorPublishProcess **ppProcess
);
Parameters
pid
[in] The identifier of the process.ppProcess
[out] A pointer to the address of an ICorPublishProcess instance that represents the process.
Remarks
GetProcess fails if the process doesn't exist, or isn't a managed process that can be debugged by the current user.
Requirements
Platforms: See .NET Framework System Requirements.
Header: CorPub.idl
Library: CorGuids.lib
.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0