ICorDebugProcess::GetHandle Method

Gets a handle to the process.

Syntax

HRESULT GetHandle([out] HPROCESS *phProcessHandle);  

Parameters

phProcessHandle
[out] A pointer to an HPROCESS that is the handle to the process.

Remarks

The retrieved handle is owned by the debugging interface. The debugger should duplicate the handle before using it.

Requirements

Platforms: See System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 1.0