Windows Dev Center

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

Parameters

wszClass [in]

Class name to test.

Return value

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

Return codeDescription
TRUE

Class name matches the one in the path.

FALSE

Class name is either missing from the path or the class name does not match the one in the path.

 

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