win12.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
WinOpenClipbrd (1.2)
Function Group  Overview  Message Group         Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINCLIPBOARD
 
BOOL WinOpenClipbrd(hab)
HAB hab;    /* handle of the anchor block */
 
The WinOpenClipbrd function opens the clipboard and prevents other threads
and processes from examining or changing the clipboard contents. If another
thread or process already has the clipboard open, this function does not
return until the clipboard is closed.
 
Messages can be received from other threads and processes during the
processing of this function.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
hab        Identifies the anchor block.
 
Return Value
 
The return value is TRUE if the function is successful or FALSE if an error
occurs.
 
See Also
 
WinCloseClipbrd, WinEnumClipbrdFmts