DPMSQueryExtension(3dpms) DPMS FUNCTION DPMSQueryExtension(3dpms)NAMEDPMSQueryExtension - queries the X server to determine the availability
of the DPMS Extension
SYNOPSIS
Bool DPMSQueryExtension ( display, event_base, error_base )
Display *display;
CARD32 *event_base;
CARD32 *error_base;
ARGUMENTS
- display
Specifies the connection to the X server
- event_base
Specifies the return location for the assigned base event
- error_base
Specifies the return location for the assigned base error
DESCRIPTION
The DPMSQueryExtension function queries the X server to determine the
availability of the DPMS Extension. If the extension is available, it
returns TRUE, and the event_base and error_base are set to the base
event and error numbers, respectively. Otherwise, the return value is
FALSE, and the values of event_base and error_base are undefined.
RETURN VALUES
TRUE The DPMSQueryExtension function returns TRUE if the
extension is available, the return value is TRUE, and
event_base and error_base are set to the base event num‐
ber and base error number for the extension, respec‐
tively.
FALSE The DPMSQueryExtension function returns FALSE if the
values of event_base and error_base are undefined.
X v11 Rel. 6.4 20 Sep 1999 DPMSQueryExtension(3dpms)