1xcb_randr_get_crtc_gamma(3) XCB Requests xcb_randr_get_crtc_gamma(3)
2
3
4
6 xcb_randr_get_crtc_gamma -
7
9 #include <xcb/randr.h>
10
11 Request function
12 xcb_randr_get_crtc_gamma_cookie_t
13 xcb_randr_get_crtc_gamma(xcb_connection_t *conn,
14 xcb_randr_crtc_t crtc);
15
16 Reply datastructure
17 typedef struct xcb_randr_get_crtc_gamma_reply_t {
18 uint8_t response_type;
19 uint8_t pad0;
20 uint16_t sequence;
21 uint32_t length;
22 uint16_t size;
23 uint8_t pad1[22];
24 } xcb_randr_get_crtc_gamma_reply_t;
25
26 Reply function
27 xcb_randr_get_crtc_gamma_reply_t
28 *xcb_randr_get_crtc_gamma_reply(xcb_connection_t *conn,
29 xcb_randr_get_crtc_gamma_cookie_t cookie,
30 xcb_generic_error_t **e);
31
32 Reply accessors
33 uint16_t *xcb_randr_get_crtc_gamma_red(const
34 xcb_randr_get_crtc_gamma_request_t *reply);
35
36 int xcb_randr_get_crtc_gamma_red_length(const
37 xcb_randr_get_crtc_gamma_reply_t *reply);
38
39 xcb_generic_iterator_t xcb_randr_get_crtc_gamma_red_end(const
40 xcb_randr_get_crtc_gamma_reply_t *reply);
41
42 uint16_t *xcb_randr_get_crtc_gamma_green(const
43 xcb_randr_get_crtc_gamma_request_t *reply);
44
45 int xcb_randr_get_crtc_gamma_green_length(const
46 xcb_randr_get_crtc_gamma_reply_t *reply);
47
48 xcb_generic_iterator_t xcb_randr_get_crtc_gamma_green_end(const
49 xcb_randr_get_crtc_gamma_reply_t *reply);
50
51 uint16_t *xcb_randr_get_crtc_gamma_blue(const
52 xcb_randr_get_crtc_gamma_request_t *reply);
53
54 int xcb_randr_get_crtc_gamma_blue_length(const
55 xcb_randr_get_crtc_gamma_reply_t *reply);
56
57 xcb_generic_iterator_t xcb_randr_get_crtc_gamma_blue_end(const
58 xcb_randr_get_crtc_gamma_reply_t *reply);
59
61 conn The XCB connection to X11.
62
63 crtc TODO: NOT YET DOCUMENTED.
64
66 response_type
67 The type of this reply, in this case XCB_RANDR_GET_CRTC_GAM‐
68 MA. This field is also present in the xcb_generic_reply_t and
69 can be used to tell replies apart from each other.
70
71 sequence The sequence number of the last request processed by the X11
72 server.
73
74 length The length of the reply, in words (a word is 4 bytes).
75
76 size TODO: NOT YET DOCUMENTED.
77
80 Returns an xcb_randr_get_crtc_gamma_cookie_t. Errors have to be handled
81 when calling the reply function xcb_randr_get_crtc_gamma_reply.
82
83 If you want to handle errors in the event loop instead, use xcb_ran‐
84 dr_get_crtc_gamma_unchecked. See xcb-requests(3) for details.
85
87 This request does never generate any errors.
88
91 Generated from randr.xml. Contact xcb@lists.freedesktop.org for correc‐
92 tions and improvements.
93
94
95
96X Version 11 libxcb 1.12 xcb_randr_get_crtc_gamma(3)