IWbemHiPerfEnum::RemoveObjects method

The IWbemHiPerfEnum::RemoveObjects method removes objects (identified by their refresher identifiers) from a refresher.

Syntax


HRESULT RemoveObjects(
       long  lFlags,
  [in] ULONG uNumObjects,
  [inlong  *apIds
);

Parameters

lFlags

Reserved. This parameter must be 0 (zero).

uNumObjects [in]

Number of objects to remove.

apIds [in]

Pointer to an array of integers that contains the refresher identifiers of the objects to remove.

Return value

This method returns an HRESULT indicating the status of the method call. The following list lists the value contained withinan HRESULT.

WBEM_S_NO_ERROR

The method was successful.

WBEM_E_OUT_OF_MEMORY

Memory could not be allocated.

WBEM_E_ACCESS_DENIED

Insufficient access to perform the operation.

WBEM_S_TIMEDOUT

The enumerator was busy with another operation.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Wbemcli.h (include Wbemidl.h)

Library

Wbemuuid.lib

See also

IWbemHiPerfEnum
IWbemHiPerfEnum

 

 

Show: