From a536f4ad4085342bcfef86620f22b9d52984ed98 Mon Sep 17 00:00:00 2001 From: Vincent Povirk Date: Tue, 24 Aug 2010 15:35:23 -0500 Subject: [PATCH 3/5] include: Add definition for IWICMetadataQueryReader. --- include/wincodec.idl | 23 ++++++++++++++++++++++- 1 files changed, 22 insertions(+), 1 deletions(-) diff --git a/include/wincodec.idl b/include/wincodec.idl index 0b75d78..9446950 100644 --- a/include/wincodec.idl +++ b/include/wincodec.idl @@ -197,7 +197,6 @@ cpp_quote("#define WINCODEC_ERR_UNSUPPORTEDOPERATION 0x88982f81") cpp_quote("#define WINCODEC_ERR_INSUFFICIENTBUFFER 0x88982f8c") interface IWICPalette; -interface IWICMetadataQueryReader; interface IWICMetadataQueryWriter; [ @@ -390,6 +389,28 @@ interface IWICComponentInfo : IUnknown [ object, + uuid(30989668-e1c9-4597-b395-458eedb808df) +] +interface IWICMetadataQueryReader : IUnknown +{ + HRESULT GetContainerFormat( + [out] GUID *pguidContainerFormat); + + HRESULT GetLocation( + [in] UINT cchMaxLength, + [in, out, unique, size_is(cchMaxLength)] WCHAR *wzNamespace, + [out] UINT *pcchActualLength); + + HRESULT GetMetadataByName( + [in] LPCWSTR wzName, + [in, out, unique] PROPVARIANT *pvarValue); + + HRESULT GetEnumerator( + [out] IEnumString **ppIEnumString); +} + +[ + object, uuid(3b16811b-6a43-4ec9-a813-3d930c13b940) ] interface IWICBitmapFrameDecode : IWICBitmapSource -- 1.7.1