Share via


IWICMetadataHandlerInfo::GetContainerFormats-Methode (wincodecsdk.h)

Ruft die vom Metadatenhandler unterstützten Containerformate ab.

Syntax

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

Parameter

[in] cContainerFormats

Typ: UINT

Die Größe des pguidContainerFormats-Arrays .

[in, out] pguidContainerFormats

Typ: GUID*

Zeiger auf ein Array, das die vom Metadatenhandler unterstützten Containerformate empfängt.

[out] pcchActual

Typ: UINT*

Die tatsächliche Anzahl der GUIDs, die dem Array hinzugefügt wurden.

Um die Anzahl der unterstützten Containerformate abzurufen, übergeben Sie NULL an pguidContainerFormats.

Rückgabewert

Typ: HRESULT

Wenn diese Methode erfolgreich ist, wird S_OK zurückgegeben. Andernfalls wird ein Fehlercode HRESULT zurückgegeben.

Anforderungen

   
Unterstützte Mindestversion (Client) Windows XP mit SP2, Windows Vista [Desktop-Apps | UWP-Apps]
Unterstützte Mindestversion (Server) Windows Server 2008 [Desktop-Apps | UWP-Apps]
Zielplattform Windows
Kopfzeile wincodecsdk.h
Bibliothek Windowscodecs.lib
DLL Windowscodecs.dll