Function clipboard_win::raw::set_bitmap_with
source ยท pub fn set_bitmap_with<C: Clearing>(data: &[u8], _is_clear: C) -> SysResult<()>
Expand description
Sets bitmap (header + RGB) onto clipboard, from raw bytes.
Returns ERROR_INCORRECT_SIZE
if size of data is not valid
Allows to customize clipboard setting behavior
C
- Specifies clearing behavior