Module: wine Branch: master Commit: 661e443ad7b550a71649d74e42bf3f6237ad4bdf URL: http://source.winehq.org/git/wine.git/?a=commit;h=661e443ad7b550a71649d74e42...
Author: Vincent Povirk vincent@codeweavers.com Date: Tue May 8 10:20:23 2012 -0500
windowscodecs: Add wrapper functions for IWICFastMetadataEncoder.
---
dlls/windowscodecs/proxy.c | 11 +++++++++++ dlls/windowscodecs/windowscodecs.spec | 4 ++-- 2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/dlls/windowscodecs/proxy.c b/dlls/windowscodecs/proxy.c index 6494a37..4df14c7 100644 --- a/dlls/windowscodecs/proxy.c +++ b/dlls/windowscodecs/proxy.c @@ -36,6 +36,17 @@
WINE_DEFAULT_DEBUG_CHANNEL(wincodecs);
+HRESULT WINAPI IWICFastMetadataEncoder_Commit_Proxy_W(IWICFastMetadataEncoder *iface) +{ + return IWICFastMetadataEncoder_Commit(iface); +} + +HRESULT WINAPI IWICFastMetadataEncoder_GetMetadataQueryWriter_Proxy_W(IWICFastMetadataEncoder *iface, + IWICMetadataQueryWriter **ppIMetadataQueryWriter) +{ + return IWICFastMetadataEncoder_GetMetadataQueryWriter(iface, ppIMetadataQueryWriter); +} + HRESULT WINAPI IWICImagingFactory_CreateBitmapClipper_Proxy_W(IWICImagingFactory *pFactory, IWICBitmapClipper **ppIBitmapClipper) { diff --git a/dlls/windowscodecs/windowscodecs.spec b/dlls/windowscodecs/windowscodecs.spec index c239910..31b41d2 100644 --- a/dlls/windowscodecs/windowscodecs.spec +++ b/dlls/windowscodecs/windowscodecs.spec @@ -60,8 +60,8 @@ @ stub IWICComponentInfo_GetFriendlyName_Proxy @ stub IWICComponentInfo_GetSpecVersion_Proxy @ stub IWICComponentInfo_GetVersion_Proxy -@ stub IWICFastMetadataEncoder_Commit_Proxy -@ stub IWICFastMetadataEncoder_GetMetadataQueryWriter_Proxy +@ stdcall IWICFastMetadataEncoder_Commit_Proxy(ptr) IWICFastMetadataEncoder_Commit_Proxy_W +@ stdcall IWICFastMetadataEncoder_GetMetadataQueryWriter_Proxy(ptr ptr) IWICFastMetadataEncoder_GetMetadataQueryWriter_Proxy_W @ stub IWICFormatConverter_Initialize_Proxy @ stdcall IWICImagingFactory_CreateBitmapClipper_Proxy(ptr ptr) IWICImagingFactory_CreateBitmapClipper_Proxy_W @ stdcall IWICImagingFactory_CreateBitmapFlipRotator_Proxy(ptr ptr) IWICImagingFactory_CreateBitmapFlipRotator_Proxy_W