IWICMetadataBlockReader::GetContainerFormat 方法 (wincodecsdk.h)

擷取譯碼器的容器格式。

語法

HRESULT GetContainerFormat(
  [out] GUID *pguidContainerFormat
);

參數

[out] pguidContainerFormat

類型: GUID*

譯碼器的容器格式。 原生容器格式 GUID 會列在 WIC GUID 和 CLSID 中

傳回值

類型: HRESULT

如果此方法成功,則會傳回 S_OK。 否則,它會傳回 HRESULT 錯誤碼。

規格需求

需求
最低支援的用戶端 Windows XP 搭配 SP2、Windows Vista [傳統型應用程式 |UWP 應用程式]
最低支援的伺服器 Windows Server 2008 [傳統型應用程式 |UWP 應用程式]
目標平台 Windows
標頭 wincodecsdk.h
程式庫 Windowscodecs.lib
Dll Windowscodecs.dll

另請參閱

概念

如何撰寫 WIC-Enabled CODEC

IWICMetadataBlockReader

其他資源

讀取和寫入影像元數據的概觀

WIC 元數據概觀

Windows 映像處理元件概觀