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

Header: CorPub.idl

Library: CorGuids.lib

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

See Also

Other Resources

Debugging Interfaces