1DPMSGetVersion(3) X FUNCTIONS DPMSGetVersion(3)
2
3
4
6 DPMSGetVersion - returns the version of the DPMS extension implemented
7 by the X server
8
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
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
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
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
45 DPMSCapable(3), DPMSQueryExtension(3)
46
47
48
49X Version 11 libXext 1.3.3 DPMSGetVersion(3)