Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
DMXQueryVersion(3)	   Library Functions Manual	    DMXQueryVersion(3)

NAME
       DMXQueryVersion - determine DMX extension version

SYNOPSIS
       #include	<X11/extensions/dmxext.h>

       Bool DMXQueryVersion(Display *dpy,
			    int	*major_version,
			    int	*minor_version,
			    int	*patch_version);

DESCRIPTION
       DMXQueryVersion()  returns  version  information	about the DMX protocol
       extension.

       Any incompatible	changes	to the protocol	will be	indicated by a	change
       in  major_version.   Small, upward-compatible changes will be indicated
       by a change in minor_version.  In general, patch_version	is for	infor-
       mational	 purposes  and will encode the date of the last	protocol revi-
       sion (e.g., 20040604).

RETURN VALUE
       If the DMX protocol extension is	available,  major_version,  minor_ver-
       sion, and patch_version will be set, and	True will be returned.	Other-
       wise, False will	be returned.

NOTES
       At the time of this writing, the	DMX protocol is	at version 2.2.

       Version 2.2 was the final development version, and code supporting this
       version	was  submitted to upstream X server repositories in the	summer
       of 2004.

       Version 1.5 was the last	of the 1.x series, which was used for develop-
       ment before screen and input addition and removal were supported.  Ver-
       sion 2.0	and 2.1	were development  versions  that  partially  supported
       screen and input	addition and removal.

       Since  we do not	expect development versions to be widely used, we rec-
       ommend that any software	that uses the DMX protocol extension  to  sup-
       port  only  versions 2.2	and above (although they should	detect earlier
       versions	and either reduce functionality	or fail	gracefully).

SEE ALSO
       DMXQueryExtension(3), DMX(3), Xdmx(1)

X Version 11			 libdmx	1.1.3		    DMXQueryVersion(3)

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | NOTES | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=DMXQueryVersion&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help