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 Interface instance that contains the managed processes running on this computer.

ICorPublish::GetProcess Method

Gets an ICorPublishProcess Interface 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

Other Resources

Debugging Interfaces