ICorPublishProcess::GetDisplayName Method

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

Syntax

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 System Requirements.

Header: CorPub.idl, CorPub.h

Library: CorGuids.lib

.NET Framework Versions: Available since 1.0

See also