Function clipboard_win::raw::open_for

source ·
pub fn open_for(owner: HWND) -> SysResult<()>
Expand description

Opens clipboard associating it with specified window handle.

Unless empty is called, owner would be None.

Wrapper around OpenClipboard.

Pre-conditions:

  • Clipboard is not opened yet.

Post-conditions (if successful):

  • Clipboard can be accessed for read and write operations.