Determines whether the major and minor version numbers needed by the client are supported by the server.
Enhanced X-Windows Library (libXext.a)
Status XCursorQueryVersion(DisplayPtr, MajorVersionPointer, MinorVersionPointer) Display *DisplayPtr; short *MajorVersionPointer; short*MinorVersionPointer;
The XCursorQueryVersion extension function specifies the major and minor version numbers that the client needs, and returns the major and minor version numbers that the server supports. If the server supports the version that the client needs, the MajorVersionPointer and MinorVersionPointer parameters are filled in and a non-zero value is returned. If the server does not support what the client needs, MajorVersionPointer and MinorVersionPointer are left untouched, and a value of zero is returned. The current aixCursorMajorVersion value is 1; the aixCursorMinorVersion value is 0.
|DisplayPtr||Specifies the connection to the X server.|
|MajorVersionPointer||Specifies the client major version number needed; returns the major version number for the server.|
|MinorVersionPointer||Specifies the client minor version number needed; returns the minor version number for the server.|
|Nonzero||Indicates the server version supports the required client version.|
|0||Indicates the server version does not support the required client version.|
Using Extensions in AIXwindows in AIX Version 4.3 AIXwindows Programming Guide.
AIXwindows Overview for Programmers in AIX Version 4.3 AIXwindows Programming Guide.