Share via


ICorPublish Interface

Serves as the general interface for publishing information about processes and information about the application domains in those processes.

interface ICorPublish : IUnknown {
        
    HRESULT EnumProcesses (
        [in] COR_PUB_ENUMPROCESS       Type,
        [out] ICorPublishProcessEnum   **ppIEnum
    );
        
    HRESULT GetProcess (
        [in] unsigned                  pid, 
        [out] ICorPublishProcess       **ppProcess
    );
}

Methods

Method

Description

ICorPublish::EnumProcesses Method

Gets an ICorPublishProcessEnum instance that contains the managed processes running on this computer.

ICorPublish::GetProcess Method

Gets an ICorPublishProcess instance that represents the process with the specified identifier.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorPub.idl

Library: CorGuids.lib

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Concepts

Debugging Interfaces