NAME
XVisualIDFromVisual — returns the visual ID for the specified visual structure.
SYNOPSIS
VisualID XVisualIDFromVisual(visual)
Visual ∗visual;
ARGUMENTS
visualSpecifies the visual structure.
RETURNS
The visual ID.
DESCRIPTION
XVisualIDFromVisual() returns the visual ID for the specified visual structure. It simply extracts a field from the XVisualInfo structure.
The visual ID is occasionally useful in association with standard colormap structures and in matching or selecting visuals.
There is no macro called VisualIDFromVisual().
Xlib Reference Manual