Status XGetIconSizes(display, w, size_list_return, count_return)
      Display *display;
      Window w;
      XIconSize **size_list_return;
      int *count_return;
| display | Specifies the connection to the X server. | 
| w | Specifies the window. | 
| size_list_return | Returns the size list. | 
| count_return | Returns the number of items in the size list. | 
XGetIconSizes() can generate a BadWindow error.
| BadWindow | A value for a Window argument does not name a defined Window. |