Vincent Povirk : windowscodecs: Add wrapper functions for IWICComponentFactory methods.

Alexandre Julliard julliard at winehq.org
Thu May 17 13:46:00 CDT 2012


Module: wine
Branch: master
Commit: 6e2da125fdadfabcf37da86c0a6af57eea2ae5c9
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6e2da125fdadfabcf37da86c0a6af57eea2ae5c9

Author: Vincent Povirk <vincent at codeweavers.com>
Date:   Tue May  8 13:10:38 2012 -0500

windowscodecs: Add wrapper functions for IWICComponentFactory methods.

---

 dlls/windowscodecs/proxy.c            |   12 ++++++++++++
 dlls/windowscodecs/windowscodecs.spec |    4 ++--
 2 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/dlls/windowscodecs/proxy.c b/dlls/windowscodecs/proxy.c
index 8e6ff4a..1b298db 100644
--- a/dlls/windowscodecs/proxy.c
+++ b/dlls/windowscodecs/proxy.c
@@ -305,6 +305,18 @@ HRESULT WINAPI IWICColorContext_InitializeFromMemory_Proxy_W(IWICColorContext *i
     return IWICColorContext_InitializeFromMemory(iface, pbBuffer, cbBufferSize);
 }
 
+HRESULT WINAPI IWICComponentFactory_CreateMetadataWriterFromReader_Proxy_W(IWICComponentFactory *iface,
+    IWICMetadataReader *pIReader, const GUID *pguidVendor, IWICMetadataWriter **ppIWriter)
+{
+    return IWICComponentFactory_CreateMetadataWriterFromReader(iface, pIReader, pguidVendor, ppIWriter);
+}
+
+HRESULT WINAPI IWICComponentFactory_CreateQueryWriterFromBlockWriter_Proxy_W(IWICComponentFactory *iface,
+    IWICMetadataBlockWriter *pIBlockWriter, IWICMetadataQueryWriter **ppIQueryWriter)
+{
+    return IWICComponentFactory_CreateQueryWriterFromBlockWriter(iface, pIBlockWriter, ppIQueryWriter);
+}
+
 HRESULT WINAPI IWICComponentInfo_GetCLSID_Proxy_W(IWICComponentInfo *iface,
     CLSID *pclsid)
 {
diff --git a/dlls/windowscodecs/windowscodecs.spec b/dlls/windowscodecs/windowscodecs.spec
index 80782f1..bd5b94c 100644
--- a/dlls/windowscodecs/windowscodecs.spec
+++ b/dlls/windowscodecs/windowscodecs.spec
@@ -53,8 +53,8 @@
 @ stdcall IWICBitmap_SetPalette_Proxy(ptr ptr) IWICBitmap_SetPalette_Proxy_W
 @ stdcall IWICBitmap_SetResolution_Proxy(ptr double double) IWICBitmap_SetResolution_Proxy_W
 @ stdcall IWICColorContext_InitializeFromMemory_Proxy(ptr ptr long) IWICColorContext_InitializeFromMemory_Proxy_W
-@ stub IWICComponentFactory_CreateMetadataWriterFromReader_Proxy
-@ stub IWICComponentFactory_CreateQueryWriterFromBlockWriter_Proxy
+@ stdcall IWICComponentFactory_CreateMetadataWriterFromReader_Proxy(ptr ptr ptr ptr) IWICComponentFactory_CreateMetadataWriterFromReader_Proxy_W
+@ stdcall IWICComponentFactory_CreateQueryWriterFromBlockWriter_Proxy(ptr ptr ptr) IWICComponentFactory_CreateQueryWriterFromBlockWriter_Proxy_W
 @ stdcall IWICComponentInfo_GetAuthor_Proxy(ptr long ptr ptr) IWICComponentInfo_GetAuthor_Proxy_W
 @ stdcall IWICComponentInfo_GetCLSID_Proxy(ptr ptr) IWICComponentInfo_GetCLSID_Proxy_W
 @ stdcall IWICComponentInfo_GetFriendlyName_Proxy(ptr long ptr ptr) IWICComponentInfo_GetFriendlyName_Proxy_W




More information about the wine-cvs mailing list