From add681ecf5d5071b2bcc0f4c49383b56d78fe50d Mon Sep 17 00:00:00 2001 From: Vincent Povirk Date: Tue, 24 Aug 2010 15:35:23 -0500 Subject: [PATCH] include: Add definition for IWICMetadataQueryReader. --- include/wincodec.idl | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/include/wincodec.idl b/include/wincodec.idl index c3384293767..379ece82ab9 100644 --- a/include/wincodec.idl +++ b/include/wincodec.idl @@ -198,7 +198,6 @@ cpp_quote("#define WINCODEC_ERR_UNSUPPORTEDOPERATION 0x88982f81") cpp_quote("#define WINCODEC_ERR_INSUFFICIENTBUFFER 0x88982f8c") interface IWICPalette; -interface IWICMetadataQueryReader; interface IWICMetadataQueryWriter; [ @@ -389,6 +388,28 @@ interface IWICComponentInfo : IUnknown [out] UINT *pcchActual); } +[ + 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)