Function clipboard_win::raw::register_raw_format[][src]

pub unsafe fn register_raw_format(name: &[u16]) -> Option<NonZeroU32>
Expand description

Registers a new clipboard format with specified name as C wide string (meaning it must have null char at the end).

Returns:

Newly registered format identifier, if successful.

Note:

Custom format identifier is in range 0xC000...0xFFFF.