Freigeben über


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 Interface 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: 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