Common Lisp Package: DPMS

README:

FUNCTION

Public

DPMS-CAPABLE (DISPLAY)

True if the currently running server's devices are capable of DPMS operations. The truth value of this request is implementation defined, but is generally based on the capabilities of the graphic card and monitor combination. Also, the return value in the case of heterogeneous multi-head servers is implementation defined.

DPMS-DISABLE (DISPLAY)

Disable the DPMS characteristics of the server. It does not affect the core or extension screen savers. If DPMS is already disabled, no change is effected. This request is provided so that DPMS may be disabled without damaging the server's stored timeout values.

DPMS-ENABLE (DISPLAY)

Enable the DPMS characteristics of the server using the server's currently stored timeouts. If DPMS is already enabled, no change is affected.

DPMS-FORCE-LEVEL (DISPLAY POWER-LEVEL)

Forces a specific DPMS level on the server. Valid keyword values for POWER-LEVEL are: DPMS-MODE-ON, DPMS-MODE-STANDBY, DPMS-MODE-SUSPEND and DPMS-MODE-OFF.

DPMS-GET-TIMEOUTS (DISPLAY)

Return three values: the current values of the DPMS timeout values. The timeout values are (in order returned): standby, suspend and off. All values are in units of seconds. A value of zero for any timeout value indicates that the mode is disabled.

DPMS-GET-VERSION (DISPLAY &OPTIONAL (MAJOR-VERSION 1) (MINOR-VERSION 1))

Return two values: the major and minor version of the DPMS implementation the server supports. If supplied, the MAJOR-VERSION and MINOR-VERSION indicate what version of the protocol the client wants the server to implement.

DPMS-INFO (DISPLAY)

Returns two valus: the DPMS power-level and state value for the display. State is one of the keywords DPMS-ENABLED or DPMS-DISABLED. If state is DPMS-ENABLED, then power level is returned as one of the keywords DPMS-MODE-ON, DPMS-MODE-STANDBY, DPMS-MODE-SUSPEND or DPMS-MODE-OFF. If state is DPMS-DISABLED, then power-level is undefined and returned as NIL.

DPMS-SET-TIMEOUTS (DISPLAY STANDBY SUSPEND OFF)

Set the values of the DPMS timeouts. All values are in units of seconds. A value of zero for any timeout value disables that mode.

MACRO

Private

Undocumented

BOOLEAN-GET (INDEX)

CARD16-GET (INDEX)

CARD8-GET (INDEX)

DEFINE-EXTENSION (NAME &KEY EVENTS ERRORS)

DPMS-OPCODE (DISPLAY)

EXTENSION-OPCODE (DISPLAY NAME)

WITH-BUFFER-REQUEST ((BUFFER OPCODE &REST OPTIONS &KEY INLINE GC-FORCE &ALLOW-OTHER-KEYS) &BODY TYPE-ARGS &ENVIRONMENT ENV)

WITH-BUFFER-REQUEST-AND-REPLY ((BUFFER OPCODE REPLY-SIZE &KEY SIZES MULTIPLE-REPLY INLINE) TYPE-ARGS &BODY REPLY-FORMS &ENVIRONMENT ENV)

CLASS

Private

Undocumented

DISPLAY

CONSTANT

Private

Undocumented

+CAPABLE+

+DISABLE+

+ENABLE+

+FORCE-LEVEL+

+GET-TIMEOUTS+

+GET-VERSION+

+INFO+

+SET-TIMEOUTS+