Share via


ICorDebugProcess::GetHandle Method

Gets a handle to the process.

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 .NET Framework System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

See Also

Reference

ICorDebugProcess Interface

ICorDebugProcess2 Interface