EmptyClipboard

2.x

  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.

Parameters

This function has no parameters.

Return Value

The return value is nonzero if the function is successful. Otherwise, it is zero.

Comments

The clipboard must be open when the EmptyClipboard function is called.

See Also

OpenClipboard