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

Concepts

ICorPublishProcess Interface