Status XSetWMColormapWindows(display, w, colormap_windows, count)
      Display *display;
      Window w;
      Window *colormap_windows;
      int count;
| display | Specifies the connection to the X server. | 
| w | Specifies the window. | 
| colormap_windows | Specifies the list of windows. | 
| count | Specifies the number of windows in the list. | 
XSetWMColormapWindows() can generate BadAlloc and BadWindow errors.
| BadAlloc | The server failed to allocate the requested source or server memory. | 
| BadWindow | A value for a Window argument does not name a defined Window. |