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

NAME

6       xcb_randr_create_mode -
7

SYNOPSIS

9       #include <xcb/randr.h>
10
11   Request function
12       xcb_randr_create_mode_cookie_t
13              xcb_randr_create_mode(xcb_connection_t *conn,
14              xcb_window_t window, xcb_randr_mode_info_t mode_info,
15              uint32_t name_len, const char *name);
16
17   Reply datastructure
18       typedef struct xcb_randr_create_mode_reply_t {
19           uint8_t          response_type;
20           uint8_t          pad0;
21           uint16_t         sequence;
22           uint32_t         length;
23           xcb_randr_mode_t mode;
24           uint8_t          pad1[20];
25       } xcb_randr_create_mode_reply_t;
26
27   Reply function
28       xcb_randr_create_mode_reply_t
29              *xcb_randr_create_mode_reply(xcb_connection_t *conn,
30              xcb_randr_create_mode_cookie_t cookie, xcb_generic_error_t **e);
31

REQUEST ARGUMENTS

33       conn      The XCB connection to X11.
34
35       window    TODO: NOT YET DOCUMENTED.
36
37       mode_info TODO: NOT YET DOCUMENTED.
38
39       name_len  TODO: NOT YET DOCUMENTED.
40
41       name      TODO: NOT YET DOCUMENTED.
42

REPLY FIELDS

44       response_type
45                 The type of this reply, in this case XCB_RANDR_CREATE_MODE.
46                 This field is also present in the xcb_generic_reply_t and can
47                 be used to tell replies apart from each other.
48
49       sequence  The sequence number of the last request processed by the X11
50                 server.
51
52       length    The length of the reply, in words (a word is 4 bytes).
53
54       mode      TODO: NOT YET DOCUMENTED.
55

DESCRIPTION

RETURN VALUE

58       Returns an xcb_randr_create_mode_cookie_t. Errors have to be handled
59       when calling the reply function xcb_randr_create_mode_reply.
60
61       If you want to handle errors in the event loop instead, use xcb_ran‐
62       dr_create_mode_unchecked. See xcb-requests(3) for details.
63

ERRORS

65       This request does never generate any errors.
66

SEE ALSO

AUTHOR

69       Generated from randr.xml. Contact xcb@lists.freedesktop.org for correc‐
70       tions and improvements.
71
72
73
74X Version 11                      libxcb 1.12         xcb_randr_create_mode(3)
Impressum