.TH xcb_randr_get_screen_resources_current 3  "libxcb 1.12" "X Version 11" "XCB Requests"
.ad l
.SH NAME
xcb_randr_get_screen_resources_current \- 
.SH SYNOPSIS
.hy 0
.B #include <xcb/randr.h>
.SS Request function
.HP
xcb_randr_get_screen_resources_current_cookie_t \fBxcb_randr_get_screen_resources_current\fP(xcb_connection_t\ *\fIconn\fP, xcb_window_t\ \fIwindow\fP);
.PP
.SS Reply datastructure
.nf
.sp
typedef struct xcb_randr_get_screen_resources_current_reply_t {
    uint8_t         \fIresponse_type\fP;
    uint8_t         \fIpad0\fP;
    uint16_t        \fIsequence\fP;
    uint32_t        \fIlength\fP;
    xcb_timestamp_t \fItimestamp\fP;
    xcb_timestamp_t \fIconfig_timestamp\fP;
    uint16_t        \fInum_crtcs\fP;
    uint16_t        \fInum_outputs\fP;
    uint16_t        \fInum_modes\fP;
    uint16_t        \fInames_len\fP;
    uint8_t         \fIpad1\fP[8];
} \fBxcb_randr_get_screen_resources_current_reply_t\fP;
.fi
.SS Reply function
.HP
xcb_randr_get_screen_resources_current_reply_t *\fBxcb_randr_get_screen_resources_current_reply\fP(xcb_connection_t\ *\fIconn\fP, xcb_randr_get_screen_resources_current_cookie_t\ \fIcookie\fP, xcb_generic_error_t\ **\fIe\fP);
.SS Reply accessors
.HP
xcb_randr_crtc_t *\fBxcb_randr_get_screen_resources_current_crtcs\fP(const xcb_randr_get_screen_resources_current_request_t *\fIreply\fP);
.HP
int \fBxcb_randr_get_screen_resources_current_crtcs_length\fP(const xcb_randr_get_screen_resources_current_reply_t *\fIreply\fP);
.HP
xcb_generic_iterator_t \fBxcb_randr_get_screen_resources_current_crtcs_end\fP(const xcb_randr_get_screen_resources_current_reply_t *\fIreply\fP);
.HP
xcb_randr_output_t *\fBxcb_randr_get_screen_resources_current_outputs\fP(const xcb_randr_get_screen_resources_current_request_t *\fIreply\fP);
.HP
int \fBxcb_randr_get_screen_resources_current_outputs_length\fP(const xcb_randr_get_screen_resources_current_reply_t *\fIreply\fP);
.HP
xcb_generic_iterator_t \fBxcb_randr_get_screen_resources_current_outputs_end\fP(const xcb_randr_get_screen_resources_current_reply_t *\fIreply\fP);
.HP
xcb_randr_mode_info_t *\fBxcb_randr_get_screen_resources_current_modes\fP(const xcb_randr_get_screen_resources_current_request_t *\fIreply\fP);
.HP
int \fBxcb_randr_get_screen_resources_current_modes_length\fP(const xcb_randr_get_screen_resources_current_reply_t *\fIreply\fP);
.HP
xcb_randr_mode_info_iterator_t \fBxcb_randr_get_screen_resources_current_modes_iterator\fP(const xcb_randr_get_screen_resources_current_reply_t *\fIreply\fP);
.HP
uint8_t *\fBxcb_randr_get_screen_resources_current_names\fP(const xcb_randr_get_screen_resources_current_request_t *\fIreply\fP);
.HP
int \fBxcb_randr_get_screen_resources_current_names_length\fP(const xcb_randr_get_screen_resources_current_reply_t *\fIreply\fP);
.HP
xcb_generic_iterator_t \fBxcb_randr_get_screen_resources_current_names_end\fP(const xcb_randr_get_screen_resources_current_reply_t *\fIreply\fP);
.br
.hy 1
.SH REQUEST ARGUMENTS
.IP \fIconn\fP 1i
The XCB connection to X11.
.IP \fIwindow\fP 1i
TODO: NOT YET DOCUMENTED.
.SH REPLY FIELDS
.IP \fIresponse_type\fP 1i
The type of this reply, in this case \fIXCB_RANDR_GET_SCREEN_RESOURCES_CURRENT\fP. This field is also present in the \fIxcb_generic_reply_t\fP and can be used to tell replies apart from each other.
.IP \fIsequence\fP 1i
The sequence number of the last request processed by the X11 server.
.IP \fIlength\fP 1i
The length of the reply, in words (a word is 4 bytes).
.IP \fItimestamp\fP 1i
TODO: NOT YET DOCUMENTED.
.IP \fIconfig_timestamp\fP 1i
TODO: NOT YET DOCUMENTED.
.IP \fInum_crtcs\fP 1i
TODO: NOT YET DOCUMENTED.
.IP \fInum_outputs\fP 1i
TODO: NOT YET DOCUMENTED.
.IP \fInum_modes\fP 1i
TODO: NOT YET DOCUMENTED.
.IP \fInames_len\fP 1i
TODO: NOT YET DOCUMENTED.
.SH DESCRIPTION
.SH RETURN VALUE
Returns an \fIxcb_randr_get_screen_resources_current_cookie_t\fP. Errors have to be handled when calling the reply function \fIxcb_randr_get_screen_resources_current_reply\fP.

If you want to handle errors in the event loop instead, use \fIxcb_randr_get_screen_resources_current_unchecked\fP. See \fBxcb-requests(3)\fP for details.
.SH ERRORS
This request does never generate any errors.
.SH SEE ALSO
.SH AUTHOR
Generated from randr.xml. Contact xcb@lists.freedesktop.org for corrections and improvements.
