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

NAME

6       xcb_xvmc_list_surface_types -
7

SYNOPSIS

9       #include <xcb/xvmc.h>
10
11   Request function
12       xcb_xvmc_list_surface_types_cookie_t
13              xcb_xvmc_list_surface_types(xcb_connection_t *conn,
14              xcb_xv_port_t port_id);
15
16   Reply datastructure
17       typedef struct xcb_xvmc_list_surface_types_reply_t {
18           uint8_t  response_type;
19           uint8_t  pad0;
20           uint16_t sequence;
21           uint32_t length;
22           uint32_t num;
23           uint8_t  pad1[20];
24       } xcb_xvmc_list_surface_types_reply_t;
25
26   Reply function
27       xcb_xvmc_list_surface_types_reply_t
28              *xcb_xvmc_list_surface_types_reply(xcb_connection_t *conn,
29              xcb_xvmc_list_surface_types_cookie_t cookie,
30              xcb_generic_error_t **e);
31
32   Reply accessors
33       xcb_xvmc_surface_info_t *xcb_xvmc_list_surface_types_surfaces(const
34              xcb_xvmc_list_surface_types_request_t *reply);
35
36       int xcb_xvmc_list_surface_types_surfaces_length(const
37              xcb_xvmc_list_surface_types_reply_t *reply);
38
39       xcb_xvmc_surface_info_iterator_t
40              xcb_xvmc_list_surface_types_surfaces_iterator(const
41              xcb_xvmc_list_surface_types_reply_t *reply);
42

REQUEST ARGUMENTS

44       conn      The XCB connection to X11.
45
46       port_id   TODO: NOT YET DOCUMENTED.
47

REPLY FIELDS

49       response_type
50                 The type of this reply, in this case XCB_XVMC_LIST_SUR‐
51                 FACE_TYPES. This field is also present in the xcb_generic_re‐
52                 ply_t and can 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       num       TODO: NOT YET DOCUMENTED.
60

DESCRIPTION

RETURN VALUE

63       Returns an xcb_xvmc_list_surface_types_cookie_t. Errors have to be han‐
64       dled when calling the reply function xcb_xvmc_list_surface_types_reply.
65
66       If you want to handle errors in the event loop instead, use
67       xcb_xvmc_list_surface_types_unchecked. See xcb-requests(3) for details.
68

ERRORS

70       This request does never generate any errors.
71

SEE ALSO

AUTHOR

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_list_surface_types(3)
Impressum