IWICMetadataHandlerInfo::GetContainerFormats method

Retrieves the container formats supported by the metadata handler.

Syntax


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

Parameters

cContainerFormats [in]

Type: UINT

The size of the pguidContainerFormats array.

pguidContainerFormats [in, out]

Type: GUID*

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

pcchActual [out]

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

Minimum supported client

Windows XP with SP2, Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

Wincodecsdk.h

IDL

Wincodecsdk.idl

Library

Windowscodecs.lib

DLL

Windowscodecs.dll

 

 

Show: