Compartir a través de


IDiaEnumSourceFiles::Next

Retrieves a specified number of source files in the enumeration sequence.

HRESULT Next ( 
   ULONG            celt,
   IDiaSourceFile** rgelt,
   ULONG*           pceltFetched
);

Parameters

  • celt
    [in] The number of source files in the enumerator to be retrieved.

  • rgelt
    [out]An array that is to be filled in with the IDiaSourceFile objects that represent the desired source files.

  • pceltFetched
    [out] Returns the number of source files in the fetched enumerator.

Return Value

If successful, returns S_OK. Returns S_FALSE if there are no more source files. Otherwise, returns an error code.

See Also

Reference

IDiaEnumSourceFiles

IDiaSession::findLinesByLinenum

IDiaSourceFile