Function:
OpenClipboard(HWNDhWndNewOwner)

 

Description:
opens the clipboard for examination and prevents other applications from modifying the clipboard content.

 

Parameters:
hWndNewOwner: Identifies the window to be associated with the open clipboard. (In most cases this should be windowHandle).

 

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.