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