1DPMSGetVersion(3x)                X FUNCTIONS               DPMSGetVersion(3x)
2
3
4

NAME

6       DPMSGetVersion  - returns the version of the DPMS extension implemented
7       by the X server
8

SYNOPSIS

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

ARGUMENTS

21       display
22              Specifies the connection to the X server
23
24       major_version
25              Specifies the return location for the extension major version
26
27       minor_version
28              Specifies the return location for the extension minor version
29

DESCRIPTION

31       The DPMSGetVersion function returns the version of  the  Display  Power
32       Management  Signaling (DPMS) extension implemented by the X server.  It
33       returns a major and minor version number. The major version number will
34       be incremented for protocol incompatible changes, and the minor version
35       number will be incremented for small, upward compatible changes.
36

RETURN VALUES

38       TRUE           The DPMSGetVersion function returns TRUE when the exten‐
39                      sion is supported and values are returned.
40
41       FALSE          The  DPMSGetVersion  function  returns  FALSE  when  the
42                      extension is not supported.
43

SEE ALSO

45       DPMSCapable(3x), DPMSQueryExtension(3x)
46
47
48
49X Version 11                     libXext 1.0.1              DPMSGetVersion(3x)
Impressum