IWbemPath::IsRelativeOrChild method (wmiutils.h)

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(
  [in] LPWSTR wszMachine,
  [in] LPWSTR wszNamespace,
  [in] long   lFlags
);

Parameters

[in] wszMachine

Name of the computer.

[in] wszNamespace

Namespace being tested.

[in] 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

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

IWbemPathKeyList