GetClipboardOwner

Syntax

HWND GetClipboardOwner( )

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

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.