DPMSGetVersion(3dpms) DPMS FUNCTION DPMSGetVersion(3dpms)NAMEDPMSGetVersion - returns the version of the DPMS extension implemented
by the X server
SYNOPSIS
Status DPMSGetVersion ( display, major_version, minor_version )
Display *display;
CARD32 *major_version;
CARD32 *minor_version;
ARGUMENTS
- display
Specifies the connection to the X server
- major_version
Specifies the return location for the extension major version
- minor_version
Specifies the return location for the extension minor version
DESCRIPTION
The DPMSGetVersion function returns the version of the DPMS extension
implemented by the X server. It returns a major and minor version num‐
ber. The major version number will be incremented for protocol incom‐
patible changes, and the minor version number will be incremented for
small, upward compatibility changes.
RETURN VALUES
TRUE The DPMSGetVersion function returns TRUE when the exten‐
sion is supported and values are returned.
FALSE The DPMSGetVersion function returns FALSE when the
extension is not supported.
X v11 Rel. 6.4 20 Sep 1999 DPMSGetVersion(3dpms)