| IShellFolderGetDisplayNameOf Method |
Retrieves the display name for the specified file object or subfolder.
Namespace: Fesslersoft.WindowsAPI.Common.InterfacesAssembly: Fesslersoft.WindowsAPI (in Fesslersoft.WindowsAPI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxint GetDisplayNameOf(
IntPtr pidl,
EnumShhdnf uFlags,
IntPtr lpName
)
Function GetDisplayNameOf (
pidl As IntPtr,
uFlags As EnumShhdnf,
lpName As IntPtr
) As Integer
int GetDisplayNameOf(
IntPtr pidl,
EnumShhdnf uFlags,
IntPtr lpName
)
abstract GetDisplayNameOf :
pidl : IntPtr *
uFlags : EnumShhdnf *
lpName : IntPtr -> int
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:
Int32If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
See Also