| Previous | Next |
| FILTER_S_LAST_TEXT | FILTER_S_PARTIAL_CONTENTSCAN_IMMEDIATE |
FILTER_S_LAST_VALUES
Filter returned the final property values for the current chunk
FILTER_S_LAST_VALUES is HRESULT 268042 (0x0004170A) from Indexing Service. The documented description is “This is the last value in the current chunk.” 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 this is the last value in the current chunk. The application should preserve it until it has validated the exact condition represented by this return value.
Where the status is encountered
- Legacy Indexing Service catalog processing; log the exact method and object state instead of interpreting the constant outside that contract.
- IFilter text and property extraction; log the exact method and object state instead of interpreting the constant outside that contract.
- Search enumeration, scan scheduling, or catalog administration; log the exact method and object state instead of interpreting the constant outside that contract.
Evidence to preserve
- Preserve chunk ID and property specification.
- Preserve PROPVARIANT types and counts.
- Preserve allocation ownership.
- Preserve locale and normalization.
- Preserve next chunk transition.
What must be true before accepting it
Verify that the returned values are valid and represent the last value set for this property chunk. The documented condition must be demonstrated so it is not mistaken for an unrelated success state.
Any state transition preceding it must be included in rollback, continuation, and retry planning.
Correct handling and recovery
Consume every returned PROPVARIANT, clear ownership correctly, and advance to the next chunk. Do not issue an endless GetValue loop after the terminal status.
Use the code-specific next action; avoid treating all informational HRESULT values as retry signals.
Difference from nearby results
Practical scenario
A metadata filter returns the last two authors with this status. The host stores both values, releases the variants, and advances without reporting a property-read error.
References
- Microsoft: Filter interface values — official Microsoft material relevant to this HRESULT.
- Microsoft: About Indexing Service filters
- Microsoft: Using custom filters
- Microsoft: HRESULT values
Looking for a different code? Search another status or error code.
