HWND GetClipboardOwner(void) |
The GetClipboardOwner function retrieves the handle of the window that currently owns the clipboard, if any.
This function has no parameters.
The return value identifies the window that owns the clipboard if the function is successful. Otherwise, it is NULL.
The clipboard can still contain data even if the clipboard is not currently owned.
CloseClipboard, GetClipboardData, GetClipboardViewer, OpenClipboard