[2/4] windowscodecs: Implement MetadataHandler_GetCount.
Dmitry Timoshkov
dmitry at baikal.ru
Fri Jun 8 00:08:42 CDT 2012
---
dlls/windowscodecs/metadatahandler.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/dlls/windowscodecs/metadatahandler.c b/dlls/windowscodecs/metadatahandler.c
index 013fe04..da70b1c 100644
--- a/dlls/windowscodecs/metadatahandler.c
+++ b/dlls/windowscodecs/metadatahandler.c
@@ -149,10 +149,14 @@ static HRESULT WINAPI MetadataHandler_GetMetadataHandlerInfo(IWICMetadataWriter
static HRESULT WINAPI MetadataHandler_GetCount(IWICMetadataWriter *iface,
UINT *pcCount)
{
+ MetadataHandler *This = impl_from_IWICMetadataWriter(iface);
+
+ TRACE("%p,%p\n", iface, pcCount);
+
if (!pcCount) return E_INVALIDARG;
- FIXME("(%p,%p): stub\n", iface, pcCount);
- return E_NOTIMPL;
+ *pcCount = This->item_count;
+ return S_OK;
}
static HRESULT WINAPI MetadataHandler_GetValueByIndex(IWICMetadataWriter *iface,
--
1.7.10.1
More information about the wine-patches
mailing list