Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
The IWbemHiPerfEnum::AddObjects method adds the supplied instance objects to the enumerator.
Syntax
HRESULT AddObjects(
long lFlags,
[in] ULONG uNumObjects,
[in] long *apIds,
[in] IWbemObjectAccess **apObj
);
Parameters
lFlags
Reserved. This parameter must be 0.
[in] uNumObjects
Number of items in the object and the number of identifiers in the parameter.
[in] apIds
Pointer to an array of integers that contains a unique identifier for each object in the object array.
[in] apObj
Pointer to an array of instance objects to add to the enumerator.
Return value
This method returns an HRESULT indicating the status of the method call. The following list lists the value contained within an HRESULT.
Remarks
If an identifier already exists, WBEM_E_FAILED is returned. The refresher identifiers can be used to remove objects later.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista |
| Minimum supported server | Windows Server 2008 |
| Target Platform | Windows |
| Header | wbemcli.h (include Wbemidl.h) |
| Library | Wbemuuid.lib |