GetClipboardOwner

  HWND GetClipboardOwner(VOID)    

This function retrieves the window handle of the current owner of the clipboard.

Parameters

This function has no parameters.

Return Value

The return value identifies the window that owns the clipboard. It is NULL if the clipboard is not owned.

Comments

The clipboard can still contain data even if the clipboard is not currently owned.

See Also

GetClipboardViewer