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

NAME

6       xcb_dri2_get_param -
7

SYNOPSIS

9       #include <xcb/dri2.h>
10
11   Request function
12       xcb_dri2_get_param_cookie_t xcb_dri2_get_param(xcb_connection_t *conn,
13              xcb_drawable_t drawable, uint32_t param);
14
15   Reply datastructure
16       typedef struct xcb_dri2_get_param_reply_t {
17           uint8_t  response_type;
18           uint8_t  is_param_recognized;
19           uint16_t sequence;
20           uint32_t length;
21           uint32_t value_hi;
22           uint32_t value_lo;
23       } xcb_dri2_get_param_reply_t;
24
25   Reply function
26       xcb_dri2_get_param_reply_t
27              *xcb_dri2_get_param_reply(xcb_connection_t *conn,
28              xcb_dri2_get_param_cookie_t cookie, xcb_generic_error_t **e);
29

REQUEST ARGUMENTS

31       conn      The XCB connection to X11.
32
33       drawable  TODO: NOT YET DOCUMENTED.
34
35       param     TODO: NOT YET DOCUMENTED.
36

REPLY FIELDS

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

DESCRIPTION

RETURN VALUE

57       Returns an xcb_dri2_get_param_cookie_t. Errors have to be handled when
58       calling the reply function xcb_dri2_get_param_reply.
59
60       If you want to handle errors in the event loop instead, use
61       xcb_dri2_get_param_unchecked. See xcb-requests(3) for details.
62

ERRORS

64       This request does never generate any errors.
65

SEE ALSO

AUTHOR

68       Generated from dri2.xml. Contact xcb@lists.freedesktop.org for correcā€
69       tions and improvements.
70
71
72
73X Version 11                      libxcb 1.12            xcb_dri2_get_param(3)
Impressum