1DPMSQueryExtension(3)             X FUNCTIONS            DPMSQueryExtension(3)
2
3
4

NAME

6       DPMSQueryExtension - queries the X server to determine the availability
7       of the DPMS Extension
8

SYNOPSIS

10       cc [ flag ... ] file ... -lXext [ library ... ]
11       #include <X11/extensions/dpms.h>
12
13       Bool DPMSQueryExtension
14              (
15                    Display *display,
16                    int *event_base,
17                    int *error_base
18              );
19

ARGUMENTS

21       display
22              Specifies the connection to the X server
23
24       event_base
25              Specifies the return location for the assigned base event
26
27       error_base
28              Specifies the return location for the assigned base error
29

DESCRIPTION

31       The DPMSQueryExtension function queries the X server to  determine  the
32       availability  of  the  Display Power Management Signaling (DPMS) Exten‐
33       sion.  If  the  extension  is  available,  it  returns  TRUE,  and  the
34       event_base  and error_base are set to the base event and error numbers,
35       respectively.  Otherwise, the return value is FALSE, and the values  of
36       event_base and error_base are undefined.
37

RETURN VALUES

39       TRUE           The  DPMSQueryExtension  function  returns  TRUE  if the
40                      extension is available, and  event_base  and  error_base
41                      are  set  to the base event number and base error number
42                      for the extension, respectively.
43
44       FALSE          The DPMSQueryExtension function returns FALSE if  exten‐
45                      sion  is not available, and the values of event_base and
46                      error_base are undefined.
47

SEE ALSO

49       DPMSGetVersion(3)
50
51
52
53X Version 11                     libXext 1.3.4           DPMSQueryExtension(3)
Impressum