IWbemPath::IsLocal method (wmiutils.h)

The IWbemPath::IsLocal method tests if the computer name passed in matches the computer name in the path, or if the server name in the path is NULL or ".".

Syntax

BOOL IsLocal(
  [in] LPCWSTR wszMachine
);

Parameters

[in] wszMachine

Name of the computer to test.

Return value

This method returns a BOOL indicating whether the path matches the passed in computer name, or if the server name in the path is NULL or ".".

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