IWbemHiPerfEnum::GetObjects method (wbemcli.h)
The IWbemHiPerfEnum::GetObjects method retrieves objects currently residing in the enumerator.
HRESULT GetObjects( [in] long lFlags, [in] ULONG uNumObjects, [out] IWbemObjectAccess **apObj, [out] ULONG *puReturned );
Integer that contains the flags.
Size of the array passed to this method in the apObj parameter.
Pointer that holds the reference to an array of IWbemObjectAccess objects, which contains the returned objects. The array must be big enough to hold all objects in the enumerator.
Pointer to a ULONG used to return the number of objects placed in the array.
This method returns an HRESULT indicating the status of the method call. The following list lists the value contained within an HRESULT.
The array must be large enough to hold all objects, or puReturned is filled with the number of returned objects, and WBEM_E_BUFFER_TOO_SMALL is returned.
|Minimum supported client||Windows Vista|
|Minimum supported server||Windows Server 2008|
|Header||wbemcli.h (include Wbemidl.h)|