Commit 38434826 authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

wmiutils: Implement IWbemPath::GetNamespaceCount.

parent 8059192e
...@@ -268,8 +268,13 @@ static HRESULT WINAPI path_GetNamespaceCount( ...@@ -268,8 +268,13 @@ static HRESULT WINAPI path_GetNamespaceCount(
IWbemPath *iface, IWbemPath *iface,
ULONG *puCount) ULONG *puCount)
{ {
FIXME("%p, %p\n", iface, puCount); struct path *path = impl_from_IWbemPath( iface );
return E_NOTIMPL;
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( static HRESULT WINAPI path_SetNamespaceAt(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment