IWbemPath::SetScope method (wmiutils.h)
The IWbemPath::SetScope method sets a scope in the path based upon an index. The index is always 0 (zero) and the scope is the class or key portion of the path. This method also sets the class name.
Syntax
HRESULT SetScope(
[in] ULONG uIndex,
[in] LPWSTR pszClass
);
Parameters
[in] uIndex
Index of the scope.
[in] pszClass
Class name of the scope.
Return value
This method returns an HRESULT indicating the status of the method call.
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 |