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