From 38434826689e77193e826ea27e490fcadc5f152f Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Wed, 2 Jan 2013 13:34:17 +0100 Subject: [PATCH] wmiutils: Implement IWbemPath::GetNamespaceCount. --- dlls/wmiutils/path.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/dlls/wmiutils/path.c b/dlls/wmiutils/path.c index 0d525444f96..0cb7170e298 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(