1xcb_randr_get_screen_resources_curXrCeBntRx(ec3qb)u_ersatnsdr_get_screen_resources_current(3)
2
3
4

NAME

6       xcb_randr_get_screen_resources_current -
7

SYNOPSIS

9       #include <xcb/randr.h>
10
11   Request function
12       xcb_randr_get_screen_resources_current_cookie_t
13              xcb_randr_get_screen_resources_current(xcb_connection_t *conn,
14              xcb_window_t window);
15
16   Reply datastructure
17       typedef struct xcb_randr_get_screen_resources_current_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           xcb_timestamp_t config_timestamp;
24           uint16_t        num_crtcs;
25           uint16_t        num_outputs;
26           uint16_t        num_modes;
27           uint16_t        names_len;
28           uint8_t         pad1[8];
29       } xcb_randr_get_screen_resources_current_reply_t;
30
31   Reply function
32       xcb_randr_get_screen_resources_current_reply_t
33              *xcb_randr_get_screen_resources_current_reply(xcb_connection_t *conn,
34              xcb_randr_get_screen_resources_current_cookie_t cookie,
35              xcb_generic_error_t **e);
36
37   Reply accessors
38       xcb_randr_crtc_t *xcb_randr_get_screen_resources_current_crtcs(const
39              xcb_randr_get_screen_resources_current_request_t *reply);
40
41       int xcb_randr_get_screen_resources_current_crtcs_length(const
42              xcb_randr_get_screen_resources_current_reply_t *reply);
43
44       xcb_generic_iterator_t
45              xcb_randr_get_screen_resources_current_crtcs_end(const
46              xcb_randr_get_screen_resources_current_reply_t *reply);
47
48       xcb_randr_output_t
49              *xcb_randr_get_screen_resources_current_outputs(const
50              xcb_randr_get_screen_resources_current_request_t *reply);
51
52       int xcb_randr_get_screen_resources_current_outputs_length(const
53              xcb_randr_get_screen_resources_current_reply_t *reply);
54
55       xcb_generic_iterator_t
56              xcb_randr_get_screen_resources_current_outputs_end(const
57              xcb_randr_get_screen_resources_current_reply_t *reply);
58
59       xcb_randr_mode_info_t
60              *xcb_randr_get_screen_resources_current_modes(const
61              xcb_randr_get_screen_resources_current_request_t *reply);
62
63       int xcb_randr_get_screen_resources_current_modes_length(const
64              xcb_randr_get_screen_resources_current_reply_t *reply);
65
66       xcb_randr_mode_info_iterator_t
67              xcb_randr_get_screen_resources_current_modes_iterator(const
68              xcb_randr_get_screen_resources_current_reply_t *reply);
69
70       uint8_t *xcb_randr_get_screen_resources_current_names(const
71              xcb_randr_get_screen_resources_current_request_t *reply);
72
73       int xcb_randr_get_screen_resources_current_names_length(const
74              xcb_randr_get_screen_resources_current_reply_t *reply);
75
76       xcb_generic_iterator_t
77              xcb_randr_get_screen_resources_current_names_end(const
78              xcb_randr_get_screen_resources_current_reply_t *reply);
79

REQUEST ARGUMENTS

81       conn      The XCB connection to X11.
82
83       window    TODO: NOT YET DOCUMENTED.
84

REPLY FIELDS

86       response_type
87                 The type of this reply, in this case XCB_RANDR_GET_SCREEN_RE‐
88                 SOURCES_CURRENT. This field is also present in the xcb_gener‐
89                 ic_reply_t and can be used to tell replies apart from each
90                 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       timestamp TODO: NOT YET DOCUMENTED.
98
99       config_timestamp
100                 TODO: NOT YET DOCUMENTED.
101
102       num_crtcs TODO: NOT YET DOCUMENTED.
103
104       num_outputs
105                 TODO: NOT YET DOCUMENTED.
106
107       num_modes TODO: NOT YET DOCUMENTED.
108
109       names_len TODO: NOT YET DOCUMENTED.
110

DESCRIPTION

RETURN VALUE

113       Returns an xcb_randr_get_screen_resources_current_cookie_t. Errors have
114       to be handled when calling the reply function xcb_randr_get_screen_re‐
115       sources_current_reply.
116
117       If you want to handle errors in the event loop instead, use xcb_ran‐
118       dr_get_screen_resources_current_unchecked. See xcb-requests(3) for de‐
119       tails.
120

ERRORS

122       This request does never generate any errors.
123

SEE ALSO

AUTHOR

126       Generated from randr.xml. Contact xcb@lists.freedesktop.org for correc‐
127       tions and improvements.
128
129
130
131X Version 11                      libxxccbb_1r.a1n2dr_get_screen_resources_current(3)
Impressum