get_clipboard_owner


handle get_clipboard_owner()

This function obtains the handle of the clipboard owner.

Return

handle

The handle of the owner of the clipboard or null if the clipboard currently has no owner.

Notes

The function empty_clipboard assigns ownership of the clipboard.

The clipboard may contain data even when no owner exists.

Typically, the owner of the clipboard is the last window to have pasted data to the clipboard.