Click or drag to resize
IShellFolderGetDisplayNameOf Method
Retrieves the display name for the specified file object or subfolder.

Namespace: Fesslersoft.WindowsAPI.Common.Interfaces
Assembly: Fesslersoft.WindowsAPI (in Fesslersoft.WindowsAPI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
int GetDisplayNameOf(
	IntPtr pidl,
	EnumShhdnf uFlags,
	IntPtr lpName
)

Parameters

pidl
Type: SystemIntPtr
PIDL that uniquely identifies the file object or subfolder relative to the parent folder.
uFlags
Type: Fesslersoft.WindowsAPI.CommonEnumShhdnf
Flags used to request the type of display name to return. For a list of possible values, see the SHGDNF enumerated type.
lpName
Type: SystemIntPtr
When this method returns, contains a pointer to a STRRET structure in which to return the display name. The type of name returned in this structure can be the requested type, but the Shell folder might return a different type.

Return Value

Type: Int32
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
See Also