---
name: "ILGetDisplayNameEx"
section: "3w"
platform: "linux"
package: "libwine-dev"
version: "1.0.1-3.1"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/ILGetDisplayNameEx"
---

# ILGetDisplayNameEx(3w)

## NAME

**ILGetDisplayNameEx** (SHELL32.186)

## SYNOPSIS

BOOL ILGetDisplayNameEx\
  (\
   LPSHELLFOLDER *psf*,\
   LPCITEMIDLIST *pidl*,\
   LPSTR         *path*,\
   DWORD         *type*\
  )

## DESCRIPTION

Retrieves the display name of an ItemIDList.

## PARAMS

*psf* **\[In\]**  Shell Folder to start with, if **NULL** the desktop is used.

*pidl* **\[In\]**  ItemIDList relative to the *psf* to get the display name for.

*path* **\[Out\]**  Filled in with the display name, assumed to be at least **MAX\_PATH** long.

*type* **\[In\]**  Type of display name to retrieve **0** = **SHGDN\_FORPARSING** \| **SHGDN\_FORADDRESSBAR** uses always the desktop as root **1** = **SHGDN\_NORMAL** relative to the root folder **2** = **SHGDN\_INFOLDER** relative to the root folder, only the last name.

## RETURNS

**TRUE** if the display name could be retrieved successfully, **FALSE** otherwise

## IMPLEMENTATION

Exported by ordinal only. Use **[GetProcAddress(3w)](/GetProcAddress/3w.md)** to obtain a pointer to the function.

Implemented in **"dlls/shell32/pidl.c"**.

Debug channel **"pidl"**.
