1DPMSForceLevel(3x) X FUNCTIONS DPMSForceLevel(3x)
2
3
4
6 DPMSForceLevel - forces a DPMS capable display into the specified power
7 level
8
10 cc [ flag ... ] file ... -lXext [ library ... ]
11 #include <X11/extensions/dpms.h>
12
13 Status DPMSForceLevel ( Display *display, CARD16 level );
14
16 display
17 Specifies the connection to the X server
18
19 level Specifies the level to force power to
20
22 The DPMSForceLevel function forces a DPMS capable display into the
23 specified power level. The level must be one of following four states:
24 DPMSModeOn, DPMSModeStandby, DPMSModeSuspend, or DPMSModeOff. Values
25 other than these will result in a BadValue error. If DPMS is disabled
26 on the display, trying to set the power level on the display will
27 result in a BadMatch protocol error.
28
30 TRUE The DPMSForceLevel function always returns TRUE.
31
33 BadValue A level other than DPMSModeOn, DPMSModeStandby, DPMSModā
34 eSuspend, or DPMSModeOff was specified.
35
36 BadMatch DPMS is disabled on the specified display.
37
39 DPMSCapable(3x), DPMSInfo(3x), DPMSGetTimeouts(3x), DPMSSetTimeouts(3x)
40
41
42
43X Version 11 libXext 1.0.1 DPMSForceLevel(3x)