1xcb_randr_get_providers(3) XCB Requests xcb_randr_get_providers(3)
2
3
4
6 xcb_randr_get_providers -
7
9 #include <xcb/randr.h>
10
11 Request function
12 xcb_randr_get_providers_cookie_t
13 xcb_randr_get_providers(xcb_connection_t *conn,
14 xcb_window_t window);
15
16 Reply datastructure
17 typedef struct xcb_randr_get_providers_reply_t {
18 uint8_t response_type;
19 uint8_t pad0;
20 uint16_t sequence;
21 uint32_t length;
22 xcb_timestamp_t timestamp;
23 uint16_t num_providers;
24 uint8_t pad1[18];
25 } xcb_randr_get_providers_reply_t;
26
27 Reply function
28 xcb_randr_get_providers_reply_t
29 *xcb_randr_get_providers_reply(xcb_connection_t *conn,
30 xcb_randr_get_providers_cookie_t cookie,
31 xcb_generic_error_t **e);
32
33 Reply accessors
34 xcb_randr_provider_t *xcb_randr_get_providers_providers(const
35 xcb_randr_get_providers_request_t *reply);
36
37 int xcb_randr_get_providers_providers_length(const
38 xcb_randr_get_providers_reply_t *reply);
39
40 xcb_generic_iterator_t xcb_randr_get_providers_providers_end(const
41 xcb_randr_get_providers_reply_t *reply);
42
44 conn The XCB connection to X11.
45
46 window TODO: NOT YET DOCUMENTED.
47
49 response_type
50 The type of this reply, in this case XCB_RANDR_GET_PROVIDERS.
51 This field is also present in the xcb_generic_reply_t and can
52 be used to tell replies apart from each other.
53
54 sequence The sequence number of the last request processed by the X11
55 server.
56
57 length The length of the reply, in words (a word is 4 bytes).
58
59 timestamp TODO: NOT YET DOCUMENTED.
60
61 num_providers
62 TODO: NOT YET DOCUMENTED.
63
66 Returns an xcb_randr_get_providers_cookie_t. Errors have to be handled
67 when calling the reply function xcb_randr_get_providers_reply.
68
69 If you want to handle errors in the event loop instead, use xcb_ran‐
70 dr_get_providers_unchecked. See xcb-requests(3) for details.
71
73 This request does never generate any errors.
74
77 Generated from randr.xml. Contact xcb@lists.freedesktop.org for correc‐
78 tions and improvements.
79
80
81
82X Version 11 libxcb 1.12 xcb_randr_get_providers(3)