The GetClipboardViewer function retrieves the handle of the first window in the clipboard viewer chain.
HWND GetClipboardViewer(VOID)
This function has no parameters.
If the function succeeds, the return value is the handle of the first window in the clipboard viewer chain.
If there is no clipboard viewer, the return value is NULL. To get extended error information, call GetLastError.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in winuser.h.
Import Library: Use user32.lib.
Clipboard Overview, Clipboard Functions, GetClipboardOwner, SetClipboardViewer