win12.hlp (Table of Contents; Topic list)
WinQueryClipbrdViewer (1.2)
Function Group  Overview  Changes               Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINCLIPBOARD
 
HWND WinQueryClipbrdViewer(hab, fLock)
HAB hab;       /* anchor-block handle     */
BOOL fLock;    /* lock/unlock viewer flag */
 
The WinQueryClipbrdViewer function obtains the handle of the current
clipboard viewer window (if any).
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
hab        Identifies the anchor block.
 
fLock      This parameter is ignored by MS OS/2 versions 1.2 and later.
 
Return Value
 
The return value is the handle of the current clipboard viewer window if the
function is successful; it is NULL if the clipboard does not have a current
viewer window or if an error occurs.
 
See Also
 
WinLockWindow, WinQueryClipbrdOwner, WinSetClipbrdViewer