Hans Leidekker : wmiutils: Implement IWbemPath::GetNamespaceCount.
Alexandre Julliard
julliard at winehq.org
Wed Jan 2 14:18:39 CST 2013
Module: wine
Branch: master
Commit: 38434826689e77193e826ea27e490fcadc5f152f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=38434826689e77193e826ea27e490fcadc5f152f
Author: Hans Leidekker <hans at codeweavers.com>
Date: Wed Jan 2 13:34:17 2013 +0100
wmiutils: Implement IWbemPath::GetNamespaceCount.
---
dlls/wmiutils/path.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/dlls/wmiutils/path.c b/dlls/wmiutils/path.c
index 0d52544..0cb7170 100644
--- a/dlls/wmiutils/path.c
+++ b/dlls/wmiutils/path.c
@@ -268,8 +268,13 @@ static HRESULT WINAPI path_GetNamespaceCount(
IWbemPath *iface,
ULONG *puCount)
{
- FIXME("%p, %p\n", iface, puCount);
- return E_NOTIMPL;
+ struct path *path = impl_from_IWbemPath( iface );
+
+ TRACE("%p, %p\n", iface, puCount);
+
+ if (!puCount) return WBEM_E_INVALID_PARAMETER;
+ *puCount = path->num_namespaces;
+ return S_OK;
}
static HRESULT WINAPI path_SetNamespaceAt(
More information about the wine-cvs
mailing list