BOOL EmptyClipboard(void) |
The EmptyClipboard function empties the clipboard and frees handles to data in the clipboard. It then assigns ownership of the clipboard to the window that currently has the clipboard open.
This function has no parameters.
The return value specifies the status of the clipboard. It is nonzero if the clipboard is emptied. It is zero if an error occurs.
The clipboard must be open when the EmptyClipboard function is called.
OpenClipboard, SetClipboardData