A | B | C |  D | E | F |  G | H | I |  J | K | L |  M | N | O |  P | Q | R |  S | T | U |  V | W | X |  Y | Z



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

Library
User32

Parameter Information
- uFormat
Specifies a clipboard format. For a description of the clipboard formats, see the SetClipboardData function.

Return Values
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.

Last update: 07 April 2006