Skip to main content

copy_window_state

Function copy_window_state 

Source
pub unsafe fn copy_window_state(
    state: *const u8,
    state_len: usize,
    out: *mut u8,
    out_cap: usize,
) -> isize
Expand description

Copy one window’s state back to the host.

§Safety

state points at state_len readable bytes. out points at out_cap writable bytes. Both live for this call.