XVisualInfo *XGetVisualInfo(display, vinfo_mask, vinfo_template, nitems_return)
Display *display;
long vinfo_mask;
XVisualInfo *vinfo_template;
int *nitems_return;
display | Specifies the connection to the X server. |
vinfo_mask | Specifies the visual mask value. |
vinfo_template | Specifies the visual attributes that are to be used in matching the visual structures. |
nitems_return | Returns the number of matching visual structures. |