wmiutils: Implement IWbemPath::GetNamespaceCount.

This commit is contained in:
Hans Leidekker 2013-01-02 13:34:17 +01:00 committed by Alexandre Julliard
parent 8059192e12
commit 3843482668
1 changed files with 7 additions and 2 deletions

View File

@ -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(