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

NAME

6       xcb_xv_query_port_attributes -
7

SYNOPSIS

9       #include <xcb/xv.h>
10
11   Request function
12       xcb_xv_query_port_attributes_cookie_t
13              xcb_xv_query_port_attributes(xcb_connection_t *conn,
14              xcb_xv_port_t port);
15
16   Reply datastructure
17       typedef struct xcb_xv_query_port_attributes_reply_t {
18           uint8_t  response_type;
19           uint8_t  pad0;
20           uint16_t sequence;
21           uint32_t length;
22           uint32_t num_attributes;
23           uint32_t text_size;
24           uint8_t  pad1[16];
25       } xcb_xv_query_port_attributes_reply_t;
26
27   Reply function
28       xcb_xv_query_port_attributes_reply_t
29              *xcb_xv_query_port_attributes_reply(xcb_connection_t *conn,
30              xcb_xv_query_port_attributes_cookie_t cookie,
31              xcb_generic_error_t **e);
32
33   Reply accessors
34       int xcb_xv_query_port_attributes_attributes_length(const
35              xcb_xv_query_port_attributes_reply_t *reply);
36
37       xcb_xv_attribute_info_iterator_t
38              xcb_xv_query_port_attributes_attributes_iterator(const
39              xcb_xv_query_port_attributes_reply_t *reply);
40

REQUEST ARGUMENTS

42       conn      The XCB connection to X11.
43
44       port      TODO: NOT YET DOCUMENTED.
45

REPLY FIELDS

47       response_type
48                 The type of this reply, in this case XCB_XV_QUERY_PORT_AT‐
49                 TRIBUTES. This field is also present in the xcb_generic_re‐
50                 ply_t and can be used to tell replies apart from each other.
51
52       sequence  The sequence number of the last request processed by the X11
53                 server.
54
55       length    The length of the reply, in words (a word is 4 bytes).
56
57       num_attributes
58                 TODO: NOT YET DOCUMENTED.
59
60       text_size TODO: NOT YET DOCUMENTED.
61

DESCRIPTION

RETURN VALUE

64       Returns an xcb_xv_query_port_attributes_cookie_t. Errors have to be
65       handled when calling the reply function xcb_xv_query_port_at‐
66       tributes_reply.
67
68       If you want to handle errors in the event loop instead, use
69       xcb_xv_query_port_attributes_unchecked. See xcb-requests(3) for de‐
70       tails.
71

ERRORS

73       This request does never generate any errors.
74

SEE ALSO

AUTHOR

77       Generated from xv.xml. Contact xcb@lists.freedesktop.org for correc‐
78       tions and improvements.
79
80
81
82X Version 11                     libxcb 1.13.1 xcb_xv_query_port_attributes(3)
Impressum