IWbemPath::IsSameClassName method (wmiutils.h)

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(
  [in] LPCWSTR wszClass
);

Parameters

[in] wszClass

Class name to test.

Return value

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

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