X FUNCTIONS DPMSQueryExtension(3xext)
NAME
DPMSQueryExtension - queries the X server to determine the
availability of the DPMS ExtensionSYNOPSIS
cc [ flag... ] file... -lXext [ library... ]
cc [ flag ... ] file ... -lXext [ library ... ]
#include
Bool DPMSQueryExtension
( Display *display,int *event_base,
int *error_base
); ARGUMENTS display Specifies the connection to the X serverevent_base
Specifies the return location for the assigned base eventerror_base
Specifies the return location for the assigned base errorDESCRIPTION
The DPMSQueryExtension function queries the X server to
determine the availability of the Display Power Management Signaling (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. Other-
wise, the return value is FALSE, and the values ofevent_base and error_base are undefined.
RETURN VALUES
TRUE The DPMSQueryExtension function returns TRUE
if the extension is available, and event_base
and error_base are set to the base event
number and base error number for the exten-
sion, respectively.FALSE The DPMSQueryExtension function returns FALSE
if extension is not available, and the valuesof event_base and error_base are undefined.
SEE ALSO
DPMSGetVersion(3xext) X Version 11 Last change: libXext 1.1.2 1X FUNCTIONS DPMSQueryExtension(3xext)
ATTRIBUTES
See attributes(5) for descriptions of the following attri-
butes:____________________________________________________________
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|_____________________________|_____________________________|
| Availability | x11/library/libxext ||_____________________________|_____________________________|
| Interface Stability | Committed ||_____________________________|_____________________________|
| MT-Level | See XInitThreads(3X11) |
|_____________________________|_____________________________|
X Version 11 Last change: libXext 1.1.2 2