ICoreClrDebugTarget::EnumRuntimes Method
Enumerates the common language runtimes (CLRs) in the specified process that is running on a remote computer.
HRESULT EnumRuntimes (
[in] DWORD dwInternalProcessID,
[out] DWORD* pcRuntimes,
[out] CoreClrDebugRuntimeInfo** ppRuntimes
);
Parameters
dwInternalProcessID
[in] The internal process ID of the process for which you want to enumerate runtimes. This will be m_dwInternalID from the corresponding CoreClrDebugProcInfo.pcRuntimes
[out] The number of runtimes returned in ppRuntimes. This value can be 0 (zero).ppRuntimes
[out] An array of CoreClrDebugRuntimeInfo structures that represent the runtimes loaded in the remote target process.
Return Value
S_OK
Success.S_FALSE
dwInternalProcessID does not match any process that is running on the computer, probably because the process was terminated. pcRuntimes and ppRuntimes will be null.E_OUTOFMEMORY
Unable to allocate enough memory for ppRuntimes.E_FAIL (or other E_ return codes)
Other failures.
Remarks
To free the memory that was allocated by this method, call the ICoreClrDebugTarget::FreeMemory method.
Requirements
Platforms: See .NET Framework System Requirements.
Header: CoreClrRemoteDebuggingInterfaces.h
Library: mscordbi_macx86.dll
.NET Framework Versions: 3.5 SP1
See Also
Reference
Other Resources
Silverlight Remote Debugging Reference for the Macintosh
Change History
Date |
History |
Reason |
---|---|---|
October 2008 |
Added topic. |
Information enhancement. |