IWbemPath::IsSameClassName method

The IWbemPath::IsSameClassName method tests whether the class name passed in matches the one in the path. The method can return TRUE only if the path actually has a class name.

Syntax

BOOL IsSameClassName(
  LPCWSTR wszClass
);

Parameters

wszClass

Class name to test.

Return Value

This method returns a BOOL indicating whether the class name matches the one in the path.

Requirements

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

See Also

IWbemPath

IWbemPathKeyList