Windows Dev Center

IWbemPath::IsLocal method

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] LPWSTR wszMachine
);

Parameters

wszMachine [in]

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 ".".

Return codeDescription
TRUE

Path is local.

FALSE

Path is not local.

 

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