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

NAME

6       xcb_randr_get_output_info -
7

SYNOPSIS

9       #include <xcb/randr.h>
10
11   Request function
12       xcb_randr_get_output_info_cookie_t
13              xcb_randr_get_output_info(xcb_connection_t *conn,
14              xcb_randr_output_t output, xcb_timestamp_t config_timestamp);
15
16   Reply datastructure
17       typedef struct xcb_randr_get_output_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           xcb_randr_crtc_t crtc;
24           uint32_t         mm_width;
25           uint32_t         mm_height;
26           uint8_t          connection;
27           uint8_t          subpixel_order;
28           uint16_t         num_crtcs;
29           uint16_t         num_modes;
30           uint16_t         num_preferred;
31           uint16_t         num_clones;
32           uint16_t         name_len;
33       } xcb_randr_get_output_info_reply_t;
34
35   Reply function
36       xcb_randr_get_output_info_reply_t
37              *xcb_randr_get_output_info_reply(xcb_connection_t *conn,
38              xcb_randr_get_output_info_cookie_t cookie,
39              xcb_generic_error_t **e);
40
41   Reply accessors
42       xcb_randr_crtc_t *xcb_randr_get_output_info_crtcs(const
43              xcb_randr_get_output_info_request_t *reply);
44
45       int xcb_randr_get_output_info_crtcs_length(const
46              xcb_randr_get_output_info_reply_t *reply);
47
48       xcb_generic_iterator_t xcb_randr_get_output_info_crtcs_end(const
49              xcb_randr_get_output_info_reply_t *reply);
50
51       xcb_randr_mode_t *xcb_randr_get_output_info_modes(const
52              xcb_randr_get_output_info_request_t *reply);
53
54       int xcb_randr_get_output_info_modes_length(const
55              xcb_randr_get_output_info_reply_t *reply);
56
57       xcb_generic_iterator_t xcb_randr_get_output_info_modes_end(const
58              xcb_randr_get_output_info_reply_t *reply);
59
60       xcb_randr_output_t *xcb_randr_get_output_info_clones(const
61              xcb_randr_get_output_info_request_t *reply);
62
63       int xcb_randr_get_output_info_clones_length(const
64              xcb_randr_get_output_info_reply_t *reply);
65
66       xcb_generic_iterator_t xcb_randr_get_output_info_clones_end(const
67              xcb_randr_get_output_info_reply_t *reply);
68
69       uint8_t *xcb_randr_get_output_info_name(const
70              xcb_randr_get_output_info_request_t *reply);
71
72       int xcb_randr_get_output_info_name_length(const
73              xcb_randr_get_output_info_reply_t *reply);
74
75       xcb_generic_iterator_t xcb_randr_get_output_info_name_end(const
76              xcb_randr_get_output_info_reply_t *reply);
77

REQUEST ARGUMENTS

79       conn      The XCB connection to X11.
80
81       output    TODO: NOT YET DOCUMENTED.
82
83       config_timestamp
84                 TODO: NOT YET DOCUMENTED.
85

REPLY FIELDS

87       response_type
88                 The type of this reply, in this case XCB_RANDR_GET_OUTPUT_IN‐
89                 FO. This field is also present in the xcb_generic_reply_t and
90                 can be used to tell replies apart from each other.
91
92       sequence  The sequence number of the last request processed by the X11
93                 server.
94
95       length    The length of the reply, in words (a word is 4 bytes).
96
97       status    TODO: NOT YET DOCUMENTED.
98
99       timestamp TODO: NOT YET DOCUMENTED.
100
101       crtc      TODO: NOT YET DOCUMENTED.
102
103       mm_width  TODO: NOT YET DOCUMENTED.
104
105       mm_height TODO: NOT YET DOCUMENTED.
106
107       connection
108                 TODO: NOT YET DOCUMENTED.
109
110       subpixel_order
111                 TODO: NOT YET DOCUMENTED.
112
113       num_crtcs TODO: NOT YET DOCUMENTED.
114
115       num_modes TODO: NOT YET DOCUMENTED.
116
117       num_preferred
118                 TODO: NOT YET DOCUMENTED.
119
120       num_clones
121                 TODO: NOT YET DOCUMENTED.
122
123       name_len  TODO: NOT YET DOCUMENTED.
124

DESCRIPTION

RETURN VALUE

127       Returns an xcb_randr_get_output_info_cookie_t. Errors have to be han‐
128       dled when calling the reply function xcb_randr_get_output_info_reply.
129
130       If you want to handle errors in the event loop instead, use xcb_ran‐
131       dr_get_output_info_unchecked. See xcb-requests(3) for details.
132

ERRORS

134       This request does never generate any errors.
135

SEE ALSO

AUTHOR

138       Generated from randr.xml. Contact xcb@lists.freedesktop.org for correc‐
139       tions and improvements.
140
141
142
143X Version 11                      libxcb 1.12     xcb_randr_get_output_info(3)
Impressum