IWbemPath::DeleteClassPart method

The IWbemPath::DeleteClassPart method deletes the class portion of the path.

Syntax


HRESULT DeleteClassPart(
  [inlong lFlags
);

Parameters

lFlags [in]

Reserved. Must be 0 (zero).

Return value

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

S_OK

Method executed successfully.

WBEM_E_INVALID_PARAMETER

The lFlags value is not 0 (zero).

WBEM_E_NOT_FOUND

There is no class portion of the path.

WBEM_E_OUT_OF_MEMORY

Out of memory.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Wmiutils.h

Library

Wbemuuid.lib

DLL

Wmiutils.dll

See also

IWbemPath
IWbemPathKeyList

 

 

Show: