1xcb_xvmc_create_surface(3) XCB Requests xcb_xvmc_create_surface(3)
2
3
4
6 xcb_xvmc_create_surface -
7
9 #include <xcb/xvmc.h>
10
11 Request function
12 xcb_xvmc_create_surface_cookie_t
13 xcb_xvmc_create_surface(xcb_connection_t *conn,
14 xcb_xvmc_surface_t surface_id, xcb_xvmc_context_t context_id);
15
16 Reply datastructure
17 typedef struct xcb_xvmc_create_surface_reply_t {
18 uint8_t response_type;
19 uint8_t pad0;
20 uint16_t sequence;
21 uint32_t length;
22 uint8_t pad1[24];
23 } xcb_xvmc_create_surface_reply_t;
24
25 Reply function
26 xcb_xvmc_create_surface_reply_t
27 *xcb_xvmc_create_surface_reply(xcb_connection_t *conn,
28 xcb_xvmc_create_surface_cookie_t cookie,
29 xcb_generic_error_t **e);
30
31 Reply accessors
32 uint32_t *xcb_xvmc_create_surface_priv_data(const
33 xcb_xvmc_create_surface_request_t *reply);
34
35 int xcb_xvmc_create_surface_priv_data_length(const
36 xcb_xvmc_create_surface_reply_t *reply);
37
38 xcb_generic_iterator_t xcb_xvmc_create_surface_priv_data_end(const
39 xcb_xvmc_create_surface_reply_t *reply);
40
42 conn The XCB connection to X11.
43
44 surface_id
45 TODO: NOT YET DOCUMENTED.
46
47 context_id
48 TODO: NOT YET DOCUMENTED.
49
51 response_type
52 The type of this reply, in this case XCB_XVMC_CREATE_SURFACE.
53 This field is also present in the xcb_generic_reply_t and can
54 be used to tell replies apart from each other.
55
56 sequence The sequence number of the last request processed by the X11
57 server.
58
59 length The length of the reply, in words (a word is 4 bytes).
60
63 Returns an xcb_xvmc_create_surface_cookie_t. Errors have to be handled
64 when calling the reply function xcb_xvmc_create_surface_reply.
65
66 If you want to handle errors in the event loop instead, use
67 xcb_xvmc_create_surface_unchecked. See xcb-requests(3) for details.
68
70 This request does never generate any errors.
71
74 Generated from xvmc.xml. Contact xcb@lists.freedesktop.org for correcā
75 tions and improvements.
76
77
78
79X Version 11 libxcb 1.12 xcb_xvmc_create_surface(3)