Windows Dev Center

IWbemPath::IsRelative method

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

Syntax


BOOL IsRelative(
  [in] LPWSTR wszMachine,
  [in] LPWSTR wszNamespace
);

Parameters

wszMachine [in]

Name of the computer.

wszNamespace [in]

Namespace being tested.

Return value

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

Return codeDescription
TRUE

Path is relative to the specified computer and namespace.

FALSE

Path is not relative to the specified computer and namespace.

 

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003

Header

Wmiutils.h

Library

Wbemuuid.lib

DLL

Wmiutils.dll

See also

IWbemPath
IWbemPathKeyList

 

 

Show:
© 2015 Microsoft