IWbemPath::IsRelativeOrChild method

The IWbemPath::IsRelativeOrChild method tests if the path, as already set in the parser, is relative to or a child of a particular computer and namespace.

Syntax

BOOL IsRelativeOrChild(
  LPWSTR wszMachine,
  LPWSTR wszNamespace,
  long   lFlags
);

Parameters

wszMachine

Name of the computer.

wszNamespace

Namespace being tested.

lFlags

Reserved. Must be 0 (zero).

Return Value

This method returns a BOOL indicating whether the path is relative to the specified computer and namespace.

Requirements

   
Windows version Windows Vista Windows Server 2008
Target Platform Windows
Header wmiutils.h
Library Wbemuuid.lib
DLL Wmiutils.dll

See Also

IWbemPath

IWbemPathKeyList