Vincent Povirk : windowscodecs: Add wrapper functions for IWICComponentInfo methods.
Alexandre Julliard
julliard at winehq.org
Thu May 10 14:17:59 CDT 2012
Module: wine
Branch: master
Commit: de9d18c6ff4ba90bf6ed8e655949a48caabc95c0
URL: http://source.winehq.org/git/wine.git/?a=commit;h=de9d18c6ff4ba90bf6ed8e655949a48caabc95c0
Author: Vincent Povirk <vincent at codeweavers.com>
Date: Tue May 8 10:55:30 2012 -0500
windowscodecs: Add wrapper functions for IWICComponentInfo methods.
---
dlls/windowscodecs/proxy.c | 30 ++++++++++++++++++++++++++++++
dlls/windowscodecs/windowscodecs.spec | 10 +++++-----
2 files changed, 35 insertions(+), 5 deletions(-)
diff --git a/dlls/windowscodecs/proxy.c b/dlls/windowscodecs/proxy.c
index ec3ed9b..c1c99ca 100644
--- a/dlls/windowscodecs/proxy.c
+++ b/dlls/windowscodecs/proxy.c
@@ -108,6 +108,36 @@ HRESULT WINAPI IWICColorContext_InitializeFromMemory_Proxy_W(IWICColorContext *i
return IWICColorContext_InitializeFromMemory(iface, pbBuffer, cbBufferSize);
}
+HRESULT WINAPI IWICComponentInfo_GetCLSID_Proxy_W(IWICComponentInfo *iface,
+ CLSID *pclsid)
+{
+ return IWICComponentInfo_GetCLSID(iface, pclsid);
+}
+
+HRESULT WINAPI IWICComponentInfo_GetAuthor_Proxy_W(IWICComponentInfo *iface,
+ UINT cchAuthor, WCHAR *wzAuthor, UINT *pcchActual)
+{
+ return IWICComponentInfo_GetAuthor(iface, cchAuthor, wzAuthor, pcchActual);
+}
+
+HRESULT WINAPI IWICComponentInfo_GetVersion_Proxy_W(IWICComponentInfo *iface,
+ UINT cchVersion, WCHAR *wzVersion, UINT *pcchActual)
+{
+ return IWICComponentInfo_GetVersion(iface, cchVersion, wzVersion, pcchActual);
+}
+
+HRESULT WINAPI IWICComponentInfo_GetSpecVersion_Proxy_W(IWICComponentInfo *iface,
+ UINT cchSpecVersion, WCHAR *wzSpecVersion, UINT *pcchActual)
+{
+ return IWICComponentInfo_GetSpecVersion(iface, cchSpecVersion, wzSpecVersion, pcchActual);
+}
+
+HRESULT WINAPI IWICComponentInfo_GetFriendlyName_Proxy_W(IWICComponentInfo *iface,
+ UINT cchFriendlyName, WCHAR *wzFriendlyName, UINT *pcchActual)
+{
+ return IWICComponentInfo_GetFriendlyName(iface, cchFriendlyName, wzFriendlyName, pcchActual);
+}
+
HRESULT WINAPI IWICFastMetadataEncoder_Commit_Proxy_W(IWICFastMetadataEncoder *iface)
{
return IWICFastMetadataEncoder_Commit(iface);
diff --git a/dlls/windowscodecs/windowscodecs.spec b/dlls/windowscodecs/windowscodecs.spec
index 8636343..930f2c4 100644
--- a/dlls/windowscodecs/windowscodecs.spec
+++ b/dlls/windowscodecs/windowscodecs.spec
@@ -55,11 +55,11 @@
@ stdcall IWICColorContext_InitializeFromMemory_Proxy(ptr ptr long) IWICColorContext_InitializeFromMemory_Proxy_W
@ stub IWICComponentFactory_CreateMetadataWriterFromReader_Proxy
@ stub IWICComponentFactory_CreateQueryWriterFromBlockWriter_Proxy
-@ stub IWICComponentInfo_GetAuthor_Proxy
-@ stub IWICComponentInfo_GetCLSID_Proxy
-@ stub IWICComponentInfo_GetFriendlyName_Proxy
-@ stub IWICComponentInfo_GetSpecVersion_Proxy
-@ stub IWICComponentInfo_GetVersion_Proxy
+@ 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
+@ stdcall IWICComponentInfo_GetSpecVersion_Proxy(ptr long ptr ptr) IWICComponentInfo_GetSpecVersion_Proxy_W
+@ stdcall IWICComponentInfo_GetVersion_Proxy(ptr long ptr ptr) IWICComponentInfo_GetVersion_Proxy_W
@ stdcall IWICFastMetadataEncoder_Commit_Proxy(ptr) IWICFastMetadataEncoder_Commit_Proxy_W
@ stdcall IWICFastMetadataEncoder_GetMetadataQueryWriter_Proxy(ptr ptr) IWICFastMetadataEncoder_GetMetadataQueryWriter_Proxy_W
@ stub IWICFormatConverter_Initialize_Proxy
More information about the wine-cvs
mailing list