GetHandle Method

ICorDebugProcess::GetHandle Method


Gets a handle to the process.

HRESULT GetHandle([out] HPROCESS *phProcessHandle);


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

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


Platforms: See .NET Framework System Requirements.

Header: CorDebug.idl, CorDebug.h

Library: CorGuids.lib

.NET Framework Versions: Available since 1.0

© 2016 Microsoft