Function:
EmptyClipboard()

 

Description:
The EmptyClipboard function empties the clipboard and frees handles to data in the clipboard. The function then assigns ownership of the clipboard to the window that currently has the clipboard open.

 

Parameters:
No parameters.

 

Returns:
If the function succeeds, the return value is nonzero. If the function fails, the return value is zero.

 

Example:
Select the icon to download the sample clipboard.a5p. This file demonstrates the use of a number of the clipboard related functions, displaying the clipboard contents if it contains either a bitmap or text.