[3/5] windowscodecs: Add wrapper functions for IWICFastMetadataEncoder.

Vincent Povirk madewokherd at gmail.com
Tue May 8 13:43:08 CDT 2012


-------------- next part --------------
From 2fd468e6e3fd76c98023ddc2e00cdf2522d635d5 Mon Sep 17 00:00:00 2001
From: Vincent Povirk <vincent at codeweavers.com>
Date: Tue, 8 May 2012 10:20:23 -0500
Subject: [PATCH 03/23] 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 57d39e9..02cebc9 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
-- 
1.7.9.5


More information about the wine-patches mailing list