Vincent Povirk : windowscodecs: Add wrapper functions for IWICMetadataBlockReader methods.
Alexandre Julliard
julliard at winehq.org
Thu May 17 13:46:00 CDT 2012
Module: wine
Branch: master
Commit: 157c92de227440cd86581b49c723dedd01027173
URL: http://source.winehq.org/git/wine.git/?a=commit;h=157c92de227440cd86581b49c723dedd01027173
Author: Vincent Povirk <vincent at codeweavers.com>
Date: Tue May 8 13:06:59 2012 -0500
windowscodecs: Add wrapper functions for IWICMetadataBlockReader methods.
---
dlls/windowscodecs/proxy.c | 13 +++++++++++++
dlls/windowscodecs/windowscodecs.spec | 4 ++--
2 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/dlls/windowscodecs/proxy.c b/dlls/windowscodecs/proxy.c
index 6115198..8e6ff4a 100644
--- a/dlls/windowscodecs/proxy.c
+++ b/dlls/windowscodecs/proxy.c
@@ -29,6 +29,7 @@
#include "winbase.h"
#include "objbase.h"
#include "wincodec.h"
+#include "wincodecsdk.h"
#include "wincodecs_private.h"
@@ -499,6 +500,18 @@ HRESULT WINAPI IWICImagingFactory_CreateStream_Proxy_W(IWICImagingFactory *pFact
return IWICImagingFactory_CreateStream(pFactory, ppIWICStream);
}
+HRESULT WINAPI IWICMetadataBlockReader_GetCount_Proxy_W(IWICMetadataBlockReader *iface,
+ UINT *pcCount)
+{
+ return IWICMetadataBlockReader_GetCount(iface, pcCount);
+}
+
+HRESULT WINAPI IWICMetadataBlockReader_GetReaderByIndex_Proxy_W(IWICMetadataBlockReader *iface,
+ UINT nIndex, IWICMetadataReader **ppIMetadataReader)
+{
+ return IWICMetadataBlockReader_GetReaderByIndex(iface, nIndex, ppIMetadataReader);
+}
+
HRESULT WINAPI IWICMetadataQueryReader_GetContainerFormat_Proxy_W(IWICMetadataQueryReader *iface,
GUID *pguidContainerFormat)
{
diff --git a/dlls/windowscodecs/windowscodecs.spec b/dlls/windowscodecs/windowscodecs.spec
index 259ff06..80782f1 100644
--- a/dlls/windowscodecs/windowscodecs.spec
+++ b/dlls/windowscodecs/windowscodecs.spec
@@ -83,8 +83,8 @@
@ stdcall IWICImagingFactory_CreateQueryWriterFromReader_Proxy(ptr ptr ptr ptr) IWICImagingFactory_CreateQueryWriterFromReader_Proxy_W
@ stdcall IWICImagingFactory_CreateQueryWriter_Proxy(ptr ptr ptr ptr) IWICImagingFactory_CreateQueryWriter_Proxy_W
@ stdcall IWICImagingFactory_CreateStream_Proxy(ptr ptr) IWICImagingFactory_CreateStream_Proxy_W
-@ stub IWICMetadataBlockReader_GetCount_Proxy
-@ stub IWICMetadataBlockReader_GetReaderByIndex_Proxy
+@ stdcall IWICMetadataBlockReader_GetCount_Proxy(ptr ptr) IWICMetadataBlockReader_GetCount_Proxy_W
+@ stdcall IWICMetadataBlockReader_GetReaderByIndex_Proxy(ptr long ptr) IWICMetadataBlockReader_GetReaderByIndex_Proxy_W
@ 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
More information about the wine-cvs
mailing list