| Previous | Next |
| DRAGDROP_S_USEDEFAULTCURSORS | DATA_S_SAMEFORMATETC |
VFW_S_NO_MORE_ITEMS
DirectShow enumeration reached the end
VFW_S_NO_MORE_ITEMS is HRESULT 262403 (0x00040103) from Video for Windows. The documented description is “The end of the list has been reached.” The high-order severity bit is clear, so this is a success result, but it carries more information than plain S_OK.
A Video for Windows or DirectShow list operation completed and has no additional item to return.
Evidence to preserve
- Preserve enumerator type and owner.
- Preserve requested and returned item counts.
- Preserve enumeration position.
- Preserve filter graph generation or device-change timestamp.
- Preserve released interface references.
Where the result is encountered
- This result can appear in filter, media-type, or device enumeration in legacy media code; record the producing interface and method.
- This result can appear in iteration over component-owned collections; record the producing interface and method.
- It can appear in compatibility layers that use VFW-specific success values; record the producing interface and method.
State to verify
The central question is whether all items already returned were consumed and the end position belongs to the same enumeration snapshot.
Diagnostic sequence
- Capture the raw HRESULT
0x00040103immediately after the returning method and record whether the caller usedSUCCEEDED,FAILED, equality testing, or exception translation. - Verify the method-specific state: all items already returned were consumed and the end position belongs to the same enumeration snapshot.
Difference from nearby HRESULT values
S_FALSE is a generic COM end or false result; it is the media-component-specific end marker.
Correct handling, retry, and recovery
Stop the enumeration normally and keep previously returned items. Do not retry from the beginning unless the underlying collection changed or the caller intentionally requests a new snapshot.
Practical validation scenario
A diagnostic tool enumerates registered media components, consumes every returned entry, and receives it. It closes the enumerator and reports the completed count rather than an error.
Developer and administrator guidance
References
Looking for a different code? Search another status or error code.