IWbemPath::GetScopeCount method (wmiutils.h)

The IWbemPath::GetScopeCount method returns the number of scopes in the path.

Syntax

HRESULT GetScopeCount(
  [out] ULONG *puCount
);

Parameters

[out] puCount

Number of scopes in the path. When there is a scope it is basically the class or key portion of the path.

Return value

This method returns the following values.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header wmiutils.h
Library Wbemuuid.lib
DLL Wmiutils.dll

See also

IWbemPath