ICorPublishProcess Interface

Provides methods that access information to be displayed about a process.

interface ICorPublishProcess : IUnknown {
    
    HRESULT EnumAppDomains (
        [out] ICorPublishAppDomainEnum   **ppEnum
    );
    
    HRESULT GetDisplayName (
        [in] ULONG32                     cchName, 
        [out] ULONG32                    *pcchName,
        [out, size_is(cchName), length_is(*pcchName)] 
            WCHAR                        *szName
    );
    
    HRESULT GetProcessID (
        [out] unsigned                   *pid
    );
    
    HRESULT IsManaged (
        [out] BOOL                       *pbManaged
    );
    
}

Methods

Method

Description

ICorPublishProcess::EnumAppDomains Method

Gets an ICorPublishAppDomainEnum instance that contains the application domains in the process referenced by this ICorPublishProcess.

ICorPublishProcess::GetDisplayName Method

Gets the full path of the executable for the process referenced by this ICorPublishProcess.

ICorPublishProcess::GetProcessID Method

Gets the operating system identifier for the process referenced by this ICorPublishProcess.

ICorPublishProcess::IsManaged Method

Gets a value that indicates whether the process referenced by this ICorPublishProcess is known to be running managed code.

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