The CloseClipboard function closes the clipboard.
BOOL CloseClipboard(VOID)
This function has no parameters.
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
When the window has finished examining or changing the clipboard, close the clipboard by calling CloseClipboard. This enables other windows to access the clipboard.
Do not place an object on the clipboard after calling CloseClipboard.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Requires version 1.0 or later.
Header: Declared in winuser.h.
Import Library: Use user32.lib.
Clipboard Overview, Clipboard Functions, GetOpenClipboardWindow, OpenClipboard