NAME
xcbdri2queryversion - SYNOPSIS
#include
Request function xcbdri2queryversioncookiet xcbdri2queryversion(xcbconnectiont *conn, uint32t majorversion, uint32t minorversion); Reply datastructure typedef struct xcbdri2queryversionreplyt { uint8t responsetype; uint8t pad0; uint16t sequence; uint32t length; uint32t majorversion; uint32t minorversion; } xcbdri2queryversionreplyt; Reply function xcbdri2queryversionreplyt *xcbdri2queryversionreply(xcbconnectiont *conn, xcbdri2queryversioncookiet cookie, xcbgenericerrort **e); REQUEST ARGUMENTS conn The XCB connection to X11. majorversion TODO: NOT YET DOCUMENTED. minorversion TODO: NOT YET DOCUMENTED. REPLY FIELDS responsetype The type of this reply, in this case XCBDRI2QUERYVERSION. This field is also present in the xcbgenericreplyt and can be used to tell replies apart from each other. sequence The sequence number of the last request processed by the X11 server. length The length of the reply, in words (a word is 4 bytes). majorversion TODO: NOT YET DOCUMENTED. minorversion TODO: NOT YET DOCUMENTED. DESCRIPTION RETURN VALUE Returns an xcbdri2queryversioncookiet. Errors have to be handled when calling the reply function xcbdri2queryversionreply. If you want to handle errors in the event loop instead, use xcbdri2queryversionunchecked. See xcb-requests(3) for details. ERRORS This request does never generate any errors. SEE ALSO AUTHOR Generated from dri2.xml. Contact xcb@lists.freedesktop.org for correcā tions and improvements. X Version 11 libxcb 1.13 xcbdri2queryversion(3)