1xcb_dpms_get_version(3) XCB Requests xcb_dpms_get_version(3)
2
3
4
6 xcb_dpms_get_version -
7
9 #include <xcb/dpms.h>
10
11 Request function
12 xcb_dpms_get_version_cookie_t
13 xcb_dpms_get_version(xcb_connection_t *conn,
14 uint16_t client_major_version, uint16_t client_minor_version);
15
16 Reply datastructure
17 typedef struct xcb_dpms_get_version_reply_t {
18 uint8_t response_type;
19 uint8_t pad0;
20 uint16_t sequence;
21 uint32_t length;
22 uint16_t server_major_version;
23 uint16_t server_minor_version;
24 } xcb_dpms_get_version_reply_t;
25
26 Reply function
27 xcb_dpms_get_version_reply_t
28 *xcb_dpms_get_version_reply(xcb_connection_t *conn,
29 xcb_dpms_get_version_cookie_t cookie, xcb_generic_error_t **e);
30
32 conn The XCB connection to X11.
33
34 client_major_version
35 TODO: NOT YET DOCUMENTED.
36
37 client_minor_version
38 TODO: NOT YET DOCUMENTED.
39
41 response_type
42 The type of this reply, in this case XCB_DPMS_GET_VERSION.
43 This field is also present in the xcb_generic_reply_t and can
44 be used to tell replies apart from each other.
45
46 sequence The sequence number of the last request processed by the X11
47 server.
48
49 length The length of the reply, in words (a word is 4 bytes).
50
51 server_major_version
52 TODO: NOT YET DOCUMENTED.
53
54 server_minor_version
55 TODO: NOT YET DOCUMENTED.
56
59 Returns an xcb_dpms_get_version_cookie_t. Errors have to be handled
60 when calling the reply function xcb_dpms_get_version_reply.
61
62 If you want to handle errors in the event loop instead, use
63 xcb_dpms_get_version_unchecked. See xcb-requests(3) for details.
64
66 This request does never generate any errors.
67
70 Generated from dpms.xml. Contact xcb@lists.freedesktop.org for correcā
71 tions and improvements.
72
73
74
75X Version 11 libxcb 1.12 xcb_dpms_get_version(3)