cccc [ _f_l_a_g ... ] _f_i_l_e ... -llXXeexxtt [ _l_i_b_r_a_r_y ... ] #includeStatus DPMSInfo ( Display _*_d_i_s_p_l_a_y, CARD16 _*_p_o_w_e_r___l_e_v_e_l, BOOL _*_s_t_a_t_e );
The DPMSInfo function returns information about the current Display Power Management Signaling (DPMS) state. The _s_t_a_t_e return parameter indicates whether or not DPMS is enabled (TRUE) or disabled (FALSE). The _p_o_w_e_r___l_e_v_e_l return parameter indicates the current power level (one of DPMSModeOn, DPMSModeStandby, DPMSModeSuspend, or DPMSModeOff.)