pub fn register_format(name: &str) -> Option<NonZeroU32>
Expand description

Registers a new clipboard format with specified name.

Returns:

Newly registered format identifier, if successful.

Note:

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