Module: wine Branch: master Commit: 536b208cb1bb985a1f96ea3c957cd335fd5f99f0 URL: http://source.winehq.org/git/wine.git/?a=commit;h=536b208cb1bb985a1f96ea3c95...
Author: Vincent Povirk vincent@codeweavers.com Date: Tue May 8 11:01:10 2012 -0500
windowscodecs: Add wrapper functions for IWICMetadataQueryReader methods.
---
dlls/windowscodecs/proxy.c | 24 ++++++++++++++++++++++++ dlls/windowscodecs/windowscodecs.spec | 8 ++++---- 2 files changed, 28 insertions(+), 4 deletions(-)
diff --git a/dlls/windowscodecs/proxy.c b/dlls/windowscodecs/proxy.c index c1c99ca..aa1f08b 100644 --- a/dlls/windowscodecs/proxy.c +++ b/dlls/windowscodecs/proxy.c @@ -277,6 +277,30 @@ HRESULT WINAPI IWICImagingFactory_CreateStream_Proxy_W(IWICImagingFactory *pFact return IWICImagingFactory_CreateStream(pFactory, ppIWICStream); }
+HRESULT WINAPI IWICMetadataQueryReader_GetContainerFormat_Proxy_W(IWICMetadataQueryReader *iface, + GUID *pguidContainerFormat) +{ + return IWICMetadataQueryReader_GetContainerFormat(iface, pguidContainerFormat); +} + +HRESULT WINAPI IWICMetadataQueryReader_GetLocation_Proxy_W(IWICMetadataQueryReader *iface, + UINT cchMaxLength, WCHAR *wzNamespace, UINT *pcchActualLength) +{ + return IWICMetadataQueryReader_GetLocation(iface, cchMaxLength, wzNamespace, pcchActualLength); +} + +HRESULT WINAPI IWICMetadataQueryReader_GetMetadataByName_Proxy_W(IWICMetadataQueryReader *iface, + LPCWSTR wzName, PROPVARIANT *pvarValue) +{ + return IWICMetadataQueryReader_GetMetadataByName(iface, wzName, pvarValue); +} + +HRESULT WINAPI IWICMetadataQueryReader_GetEnumerator_Proxy_W(IWICMetadataQueryReader *iface, + IEnumString **ppIEnumString) +{ + return IWICMetadataQueryReader_GetEnumerator(iface, ppIEnumString); +} + HRESULT WINAPI IWICPalette_InitializePredefined_Proxy_W(IWICPalette *iface, WICBitmapPaletteType ePaletteType, BOOL fAddTransparentColor) { diff --git a/dlls/windowscodecs/windowscodecs.spec b/dlls/windowscodecs/windowscodecs.spec index 930f2c4..3629bad 100644 --- a/dlls/windowscodecs/windowscodecs.spec +++ b/dlls/windowscodecs/windowscodecs.spec @@ -85,10 +85,10 @@ @ stdcall IWICImagingFactory_CreateStream_Proxy(ptr ptr) IWICImagingFactory_CreateStream_Proxy_W @ stub IWICMetadataBlockReader_GetCount_Proxy @ stub IWICMetadataBlockReader_GetReaderByIndex_Proxy -@ stub IWICMetadataQueryReader_GetContainerFormat_Proxy -@ stub IWICMetadataQueryReader_GetEnumerator_Proxy -@ stub IWICMetadataQueryReader_GetLocation_Proxy -@ stub IWICMetadataQueryReader_GetMetadataByName_Proxy +@ stdcall IWICMetadataQueryReader_GetContainerFormat_Proxy(ptr ptr) IWICMetadataQueryReader_GetContainerFormat_Proxy_W +@ stdcall IWICMetadataQueryReader_GetEnumerator_Proxy(ptr ptr) IWICMetadataQueryReader_GetEnumerator_Proxy_W +@ stdcall IWICMetadataQueryReader_GetLocation_Proxy(ptr long ptr ptr) IWICMetadataQueryReader_GetLocation_Proxy_W +@ stdcall IWICMetadataQueryReader_GetMetadataByName_Proxy(ptr wstr ptr) IWICMetadataQueryReader_GetMetadataByName_Proxy_W @ stub IWICMetadataQueryWriter_RemoveMetadataByName_Proxy @ stub IWICMetadataQueryWriter_SetMetadataByName_Proxy @ stdcall IWICPalette_GetColorCount_Proxy(ptr ptr) IWICPalette_GetColorCount_Proxy_W