The GetClipboardViewer function retrieves the handle of the first window in the clipboard viewer chain.
HWND GetClipboardViewer(VOID)
Parameters
This function has no parameters.
Return Values
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.
See Also