1xcb_randr_query_version(3) XCB Requests xcb_randr_query_version(3)
2
3
4
6 xcb_randr_query_version -
7
9 #include <xcb/randr.h>
10
11 Request function
12 xcb_randr_query_version_cookie_t
13 xcb_randr_query_version(xcb_connection_t *conn,
14 uint32_t major_version, uint32_t minor_version);
15
16 Reply datastructure
17 typedef struct xcb_randr_query_version_reply_t {
18 uint8_t response_type;
19 uint8_t pad0;
20 uint16_t sequence;
21 uint32_t length;
22 uint32_t major_version;
23 uint32_t minor_version;
24 uint8_t pad1[16];
25 } xcb_randr_query_version_reply_t;
26
27 Reply function
28 xcb_randr_query_version_reply_t
29 *xcb_randr_query_version_reply(xcb_connection_t *conn,
30 xcb_randr_query_version_cookie_t cookie,
31 xcb_generic_error_t **e);
32
34 conn The XCB connection to X11.
35
36 major_version
37 TODO: NOT YET DOCUMENTED.
38
39 minor_version
40 TODO: NOT YET DOCUMENTED.
41
43 response_type
44 The type of this reply, in this case XCB_RANDR_QUERY_VERSION.
45 This field is also present in the xcb_generic_reply_t and can
46 be used to tell replies apart from each other.
47
48 sequence The sequence number of the last request processed by the X11
49 server.
50
51 length The length of the reply, in words (a word is 4 bytes).
52
53 major_version
54 TODO: NOT YET DOCUMENTED.
55
56 minor_version
57 TODO: NOT YET DOCUMENTED.
58
61 Returns an xcb_randr_query_version_cookie_t. Errors have to be handled
62 when calling the reply function xcb_randr_query_version_reply.
63
64 If you want to handle errors in the event loop instead, use xcb_ran‐
65 dr_query_version_unchecked. See xcb-requests(3) for details.
66
68 This request does never generate any errors.
69
72 Generated from randr.xml. Contact xcb@lists.freedesktop.org for correc‐
73 tions and improvements.
74
75
76
77X Version 11 libxcb 1.13.1 xcb_randr_query_version(3)