User32CountClipboardFormats Method
Retrieves the number of different data formats currently on the clipboard.
Namespace: DevCase.Win32.NativeMethodsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("User32.dll", SetLastError = true)]
public static int CountClipboardFormats()
<DllImportAttribute("User32.dll", SetLastError := true>]
Public Shared Function CountClipboardFormats As Integer
Dim returnValue As Integer
returnValue = User32.CountClipboardFormats()
public:
[DllImportAttribute(L"User32.dll", SetLastError = true)]
static int CountClipboardFormats()
[<DllImportAttribute("User32.dll", SetLastError = true)>]
static member CountClipboardFormats : unit -> int
No code example is currently available or this language may not be supported.
Return Value
Int32
If the function succeeds, the return value is the number of different data formats currently on the clipboard.
If the function fails, the return value is zero.