1xcb_randr_get_crtc_info(3)       XCB Requests       xcb_randr_get_crtc_info(3)
2
3
4

NAME

6       xcb_randr_get_crtc_info -
7

SYNOPSIS

9       #include <xcb/randr.h>
10
11   Request function
12       xcb_randr_get_crtc_info_cookie_t
13              xcb_randr_get_crtc_info(xcb_connection_t *conn,
14              xcb_randr_crtc_t crtc, xcb_timestamp_t config_timestamp);
15
16   Reply datastructure
17       typedef struct xcb_randr_get_crtc_info_reply_t {
18           uint8_t          response_type;
19           uint8_t          status;
20           uint16_t         sequence;
21           uint32_t         length;
22           xcb_timestamp_t  timestamp;
23           int16_t          x;
24           int16_t          y;
25           uint16_t         width;
26           uint16_t         height;
27           xcb_randr_mode_t mode;
28           uint16_t         rotation;
29           uint16_t         rotations;
30           uint16_t         num_outputs;
31           uint16_t         num_possible_outputs;
32       } xcb_randr_get_crtc_info_reply_t;
33
34   Reply function
35       xcb_randr_get_crtc_info_reply_t
36              *xcb_randr_get_crtc_info_reply(xcb_connection_t *conn,
37              xcb_randr_get_crtc_info_cookie_t cookie,
38              xcb_generic_error_t **e);
39
40   Reply accessors
41       xcb_randr_output_t *xcb_randr_get_crtc_info_outputs(const
42              xcb_randr_get_crtc_info_request_t *reply);
43
44       int xcb_randr_get_crtc_info_outputs_length(const
45              xcb_randr_get_crtc_info_reply_t *reply);
46
47       xcb_generic_iterator_t xcb_randr_get_crtc_info_outputs_end(const
48              xcb_randr_get_crtc_info_reply_t *reply);
49
50       xcb_randr_output_t *xcb_randr_get_crtc_info_possible(const
51              xcb_randr_get_crtc_info_request_t *reply);
52
53       int xcb_randr_get_crtc_info_possible_length(const
54              xcb_randr_get_crtc_info_reply_t *reply);
55
56       xcb_generic_iterator_t xcb_randr_get_crtc_info_possible_end(const
57              xcb_randr_get_crtc_info_reply_t *reply);
58

REQUEST ARGUMENTS

60       conn      The XCB connection to X11.
61
62       crtc      TODO: NOT YET DOCUMENTED.
63
64       config_timestamp
65                 TODO: NOT YET DOCUMENTED.
66

REPLY FIELDS

68       response_type
69                 The type of this reply, in this case XCB_RANDR_GET_CRTC_INFO.
70                 This field is also present in the xcb_generic_reply_t and can
71                 be used to tell replies apart from each other.
72
73       sequence  The sequence number of the last request processed by the X11
74                 server.
75
76       length    The length of the reply, in words (a word is 4 bytes).
77
78       status    TODO: NOT YET DOCUMENTED.
79
80       timestamp TODO: NOT YET DOCUMENTED.
81
82       x         TODO: NOT YET DOCUMENTED.
83
84       y         TODO: NOT YET DOCUMENTED.
85
86       width     TODO: NOT YET DOCUMENTED.
87
88       height    TODO: NOT YET DOCUMENTED.
89
90       mode      TODO: NOT YET DOCUMENTED.
91
92       rotation  TODO: NOT YET DOCUMENTED.
93
94       rotations TODO: NOT YET DOCUMENTED.
95
96       num_outputs
97                 TODO: NOT YET DOCUMENTED.
98
99       num_possible_outputs
100                 TODO: NOT YET DOCUMENTED.
101

DESCRIPTION

RETURN VALUE

104       Returns an xcb_randr_get_crtc_info_cookie_t. Errors have to be handled
105       when calling the reply function xcb_randr_get_crtc_info_reply.
106
107       If you want to handle errors in the event loop instead, use xcb_ran‐
108       dr_get_crtc_info_unchecked. See xcb-requests(3) for details.
109

ERRORS

111       This request does never generate any errors.
112

SEE ALSO

AUTHOR

115       Generated from randr.xml. Contact xcb@lists.freedesktop.org for correc‐
116       tions and improvements.
117
118
119
120X Version 11                      libxcb 1.13       xcb_randr_get_crtc_info(3)
Impressum