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

NAME

6       xcb_xv_query_best_size -
7

SYNOPSIS

9       #include <xcb/xv.h>
10
11   Request function
12       xcb_xv_query_best_size_cookie_t
13              xcb_xv_query_best_size(xcb_connection_t *conn,
14              xcb_xv_port_t port, uint16_t vid_w, uint16_t vid_h,
15              uint16_t drw_w, uint16_t drw_h, uint8_t motion);
16
17   Reply datastructure
18       typedef struct xcb_xv_query_best_size_reply_t {
19           uint8_t  response_type;
20           uint8_t  pad0;
21           uint16_t sequence;
22           uint32_t length;
23           uint16_t actual_width;
24           uint16_t actual_height;
25       } xcb_xv_query_best_size_reply_t;
26
27   Reply function
28       xcb_xv_query_best_size_reply_t
29              *xcb_xv_query_best_size_reply(xcb_connection_t *conn,
30              xcb_xv_query_best_size_cookie_t cookie,
31              xcb_generic_error_t **e);
32

REQUEST ARGUMENTS

34       conn      The XCB connection to X11.
35
36       port      TODO: NOT YET DOCUMENTED.
37
38       vid_w     TODO: NOT YET DOCUMENTED.
39
40       vid_h     TODO: NOT YET DOCUMENTED.
41
42       drw_w     TODO: NOT YET DOCUMENTED.
43
44       drw_h     TODO: NOT YET DOCUMENTED.
45
46       motion    TODO: NOT YET DOCUMENTED.
47

REPLY FIELDS

49       response_type
50                 The type of this reply, in this case XCB_XV_QUERY_BEST_SIZE.
51                 This field is also present in the xcb_generic_reply_t and can
52                 be used to tell replies apart from each other.
53
54       sequence  The sequence number of the last request processed by the X11
55                 server.
56
57       length    The length of the reply, in words (a word is 4 bytes).
58
59       actual_width
60                 TODO: NOT YET DOCUMENTED.
61
62       actual_height
63                 TODO: NOT YET DOCUMENTED.
64

DESCRIPTION

RETURN VALUE

67       Returns an xcb_xv_query_best_size_cookie_t. Errors have to be handled
68       when calling the reply function xcb_xv_query_best_size_reply.
69
70       If you want to handle errors in the event loop instead, use
71       xcb_xv_query_best_size_unchecked. See xcb-requests(3) for details.
72

ERRORS

74       This request does never generate any errors.
75

SEE ALSO

AUTHOR

78       Generated from xv.xml. Contact xcb@lists.freedesktop.org for correcā€
79       tions and improvements.
80
81
82
83X Version 11                      libxcb 1.13        xcb_xv_query_best_size(3)
Impressum