Site icon EfmSoft

What does HRESULT 0x00041814 (CI_S_END_OF_ENUMERATION) mean?

 
Previous Next
CI_S_WORKID_DELETED CI_S_NO_DOCSTORE

CI_S_END_OF_ENUMERATION

Indexing document enumeration is complete

CI_S_END_OF_ENUMERATION is HRESULT 268308 (0x00041814) from Indexing Service. The documented description is “There are no more documents to enumerate.” The severity bit indicates a nonfailure result, but the value carries a specific condition that must not be collapsed into plain S_OK.

In the legacy Indexing Service or IFilter pipeline, this result means that there are no more documents to enumerate. It is actionable success information: the result must be interpreted before the caller advances its workflow.

Where the status is encountered

    Evidence to preserve

    • Preserve catalog and scope.
    • Preserve enumeration snapshot or generation.
    • Preserve last work ID.
    • Preserve total records consumed.
    • Preserve filters or security context.

    What must be true before accepting it

    Verify that all documents returned before the terminal status were processed and the enumerator can be closed. A valid return path and an application-level completed request are not automatically the same thing.

    Determine whether ownership, buffers, callbacks, or resources changed before choosing recovery.

    Correct handling and recovery

    Commit accumulated results, release enumeration resources, and store the catalog generation and final count. A new enumeration requires a new snapshot or query.

    Repeat the operation after it only when evidence shows that an input, resource, or phase has changed.

    Difference from nearby results

    The code adjacent to it may require a different action even when both values have success severity.

    Practical scenario

    An administrative tool enumerates catalog documents until this status, then compares the final count with catalog statistics and closes the connection.

    References


    Looking for a different code? Search another status or error code.

    Exit mobile version