GetUpdatedClipboardFormats function

Retrieves the currently supported clipboard formats.

Syntax

BOOL GetUpdatedClipboardFormats(
  PUINT lpuiFormats,
  UINT  cFormats,
  PUINT pcFormatsOut
);

Parameters

lpuiFormats

Type: PUINT

An array of clipboard formats. For a description of the standard clipboard formats, see Standard Clipboard Formats.

cFormats

Type: UINT

The number of entries in the array pointed to by lpuiFormats.

pcFormatsOut

Type: PUINT

The actual number of clipboard formats in the array pointed to by lpuiFormats.

Return Value

Type: BOOL

The function returns TRUE if successful; otherwise, FALSE. Call GetLastError for additional details.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header winuser.h (include Windows.h)
Library User32.lib
DLL User32.dll