IWICMetadataHandlerInfo::GetContainerFormats method (wincodecsdk.h)

Retrieves the container formats supported by the metadata handler.

Syntax

HRESULT GetContainerFormats(
  [in]      UINT cContainerFormats,
  [in, out] GUID *pguidContainerFormats,
  [out]     UINT *pcchActual
);

Parameters

[in] cContainerFormats

Type: UINT

The size of the pguidContainerFormats array.

[in, out] pguidContainerFormats

Type: GUID*

Pointer to an array that receives the container formats supported by the metadata handler.

[out] pcchActual

Type: UINT*

The actual number of GUIDs added to the array.

To obtain the number of supported container formats, pass NULL to pguidContainerFormats.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows XP with SP2, Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 [desktop apps | UWP apps]
Target Platform Windows
Header wincodecsdk.h
Library Windowscodecs.lib
DLL Windowscodecs.dll