getclipboarddata function retrieves data from the clipboard:
GetClipboardData