Partager via


Next

Applies To: Windows 8, Windows 8.1

Returns an array that contains the specified number of errors or warnings from the current index of the enumerator.

HRESULT Next
  ([in] ULONG celt,
  [out, size_is(celt), length_is(*pCeltFetched)] const IControlErrorInfo** prgVar,
  [out] ULONG* pCeltFetched)
;

Parameters

  • celt
    [in] The number of elements to be returned.
  • prgVar
    [out] An array of at least the size of celt in which the elements are to be returned.
  • pCeltFetched
    [out] A pointer to the number of elements returned in rgVar, or NULL.

Return Value

The following table describes possible return values.

Return Value Description

S_OK

The function successfully returned the array.

S_FALSE

The number of elements returned is less then celt.

E_POINTER

Indicates an invalid pointer.

See Also

Reference

IEnumControlWarningInfo