GetUpdatedClipboardFormats function (winuser.h)

Retrieves the currently supported clipboard formats.

Syntax

BOOL GetUpdatedClipboardFormats(
  [out] PUINT lpuiFormats,
  [in]  UINT  cFormats,
  [out] PUINT pcFormatsOut
);

Parameters

[out] lpuiFormats

Type: PUINT

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

[in] cFormats

Type: UINT

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

[out] 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

Requirement Value
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