ICorDebugProcess::GetHandle Method

Gets a handle to the process.

HRESULT GetHandle([out] HPROCESS *phProcessHandle);

Parameters

Parameter Description

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: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorDebug.idl

Library: CorGuids.lib

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Reference

ICorDebugProcess Interface
ICorDebugProcess2 Interface