Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Gets the display name of the IShellItem object.
HRESULT GetDisplayName(
[in] SIGDN sigdnName,
[out] LPWSTR *ppszName
);
[in] sigdnName
Type: SIGDN
One of the SIGDN values that indicates how the name should look.
[out] ppszName
Type: LPWSTR*
A value that, when this function returns successfully, receives the address of a pointer to the retrieved display name.
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
It is the responsibility of the caller to free the string pointed to by ppszName when it is no longer needed. Call CoTaskMemFree on *ppszName to free the memory.
Requirement | Value |
---|---|
Minimum supported client | Windows XP with SP1 [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | shobjidl_core.h (include Shlguid.h) |
DLL | Shell32.dll (version 5.00 or later) |
Events
May 19, 6 PM - May 23, 12 AM
Calling all developers, creators, and AI innovators to join us in Seattle @Microsoft Build May 19-22.
Register today