Share via


ICorPublishProcess::GetDisplayName Method

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

HRESULT GetDisplayName (
    [in]  ULONG32                    cchName, 
    [out] ULONG32                    *pcchName,
    [out, size_is(cchName), length_is(*pcchName)] 
        WCHAR                        *szName
);

Parameters

  • cchName
    [in] The size of the szName array.

  • pcchName
    [out] The number of wide characters returned in the szName array.

  • szName
    [out] An array to store the name, including the full path, of the executable. The name is null-terminated.

Requirements

Platforms: See .NET Framework System Requirements.

Header: CorPub.idl, CorPub.h

Library: CorGuids.lib

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

See Also

Reference

ICorPublishProcess Interface