共用方式為


IEnumRangeExceptions::Next

傳回變更單位例外狀況集中的下一個項目 (如果有)。

HRESULT Next(
  ULONG cExceptions,
  IRangeException ** ppRangeException,
  ULONG *pcFetched);

參數

  • cExceptions
    [in] 要擷取的範圍例外狀況元素數目。
  • ppRangeException
    [out, size_is(cExceptions),length_is(*pcFetched)] 傳回下一個 pcFetched 範圍例外狀況。
  • pcFetched
    [in, out, unique] 傳回所傳回範圍例外狀況的數目。如果 cExceptions 為 1,這項值可以是 NULL;否則就不可為 NULL

傳回值

  • S_OK

  • 如果已經沒有其他元素可擷取,則為 S_FALSE。

  • E_INVALIDARG

  • E_OUTOFMEMORY

請參閱

參考

IEnumRangeExceptions 介面