[−][src]Function clipboard_win::raw::get
pub fn get(format: u32, result: &mut [u8]) -> Result<usize>
Retrieves data of specified format from clipboard.
Wrapper around GetClipboardData
.
Pre-conditions:
- open() has been called.
Note:
Clipboard data is truncated by the size of provided storage.
Returns:
Number of copied bytes.