GetClipboardData The GetClipboardData function retrieves data from the clipboard in a specified format. The clipboard must have been opened previously.
VB4-32,5,6
Declare Function GetClipboardData Lib "user32" (ByVal wFormat As Long) As Long |
VB.NET
System.Windows.Forms.Clipboard |
Operating Systems Supported |
Requires Windows NT 3.1 or later; Requires Windows 95 or later |
- uFormat
Specifies a clipboard format. For a description of the clipboard formats, see the SetClipboardData function. |
If the function succeeds, the return value is the handle of a clipboard object in the specified format.
If the function fails, the return value is NULL. To get extended error information, call GetLastError. |
|