Sdílet prostřednictvím


ICoreClrDebugTarget::EnumProcesses Method

Enumerates the processes that are running on a remote computer.

HRESULT EnumProcesses (
       [out]  DWORD*                  pcProcs, 
       [out]  CoreClrDebugProcInfo**  ppProcs
);

Parameters

  • pcProcs
    [out] The number of processes returned in ppProcs. This value can be 0 (zero).

  • ppProcs
    [out] An array of CoreClrDebugProcInfo structures that represent the processes running on the remote computer.

Return Value

  • S_OK
    Success.

  • E_OUTOFMEMORY
    Unable to allocate enough memory for ppProcs.

  • 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

ICoreClrDebugTarget Interface

Other Resources

Silverlight Remote Debugging Reference for the Macintosh

Change History

Date

History

Reason

October 2008

Added topic.

Information enhancement.