NAME

DPMSGetTimeouts - retrieves the timeout values used by the X server for DPMS timings

SYNOPSIS


cccc [ _f_l_a_g ... ] _f_i_l_e ... -llXXeexxtt [ _l_i_b_r_a_r_y ... ]
#include 
Bool DPMSGetTimeouts
(
      Display *_d_i_s_p_l_a_y,
      CARD16 *_s_t_a_n_d_b_y,
      CARD16 *_s_u_s_p_e_n_d,
      CARD16 *_o_f_f
);
     

ARGUMENTS

display
Specifies the connection to the X server
standby
Specifies the current standby timeout in seconds
suspend
Specifies the current suspend timeout in seconds
off
Specifies the current off timeout in seconds

DESCRIPTION

The DPMSGetTimeouts function retrieves the timeout values used by the X server for DPMS timings.

The value standby is the amount of time of inactivity in seconds before standby mode is invoked. A value of zero indicates that this mode has been disabled.

The value _s_u_s_p_e_n_d is the amount of time of inactivity in seconds before the second level of power savings is invoked. A value of zero indicates that this mode has been disabled.

The value _o_f_f is the amount of time of inactivity in seconds before the third and final level of power savings is invoked. A value of zero indicates that this mode has been disabled.

RETURN VALUES

TRUE
The DPMSGetTimeouts function returns TRUE when values are returned.
FALSE
The DPMSGetTimeouts function returns FALSE when no values returned.

SEE ALSO

DPMSCapable(3) DPMSInfo(3) DPMSSetTimeouts(3)