Export (0) Print
Expand All

IWbemPath::SetClassName method

The IWbemPath::SetClassName method sets the class name portion of the path.

Syntax


HRESULT SetClassName(
  [in]  LPCWSTR pszName
);

Parameters

pszName [in]

Class name.

Return value

This method returns an HRESULT indicating the status of the method call.

Return codeDescription
S_OK

Method executed successfully.

WBEM_E_INVALID_PARAMETER

The pszName parameter is NULL.

WBEM_E_OUT_OF_MEMORY

Out of memory.

 

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003

Header

Wmiutils.h

Library

Wbemuuid.lib

DLL

Wmiutils.dll

See also

IWbemPath

 

 

Show:
© 2015 Microsoft