Status XGetIconName(display, w, icon_name_return)
Display *display;
Window w;
char **icon_name_return;
| display | Specifies the connection to the X server. |
| w | Specifies the window. |
| icon_name_return | Returns the window's icon name, which is a null-terminated string. |
XGetIconName() can generate a BadWindow error.
| BadWindow | A value for a Window argument does not name a defined Window. |