| Previous | Next |
| ERROR_GRAPHICS_VIDEO_PRESENT_TARGETS_LESS_THAN_SOURCES | ERROR_GRAPHICS_ADAPTER_MUST_HAVE_AT_LEAST_ONE_SOURCE |
ERROR_GRAPHICS_PATH_NOT_IN_TOPOLOGY
ERROR_GRAPHICS_PATH_NOT_IN_TOPOLOGY is returned when code tries to inspect, update, or remove a path that the topology no longer contains. The pair of VidPnSourceId and VidPnTargetId identifies the path; a similar path in an older or different VidPN object is not interchangeable.
Reacquire the topology and enumerate its present paths immediately before the operation. Hot-plug, display switching, or a successful topology assignment can invalidate cached path data. Also verify both IDs: finding the target elsewhere does not prove the original source-target pairing still exists.
Avoid stale path operations
- Do not retain path-info pointers beyond their documented release point.
- Restart enumeration when the VidPN or topology object changes.
- Log both source and target IDs for every update request.
- Verify that cleanup code removes only paths belonging to the topology it acquired.
Microsoft: acquiring current path information
Microsoft: obtaining the topology interface
Microsoft: VidPN object relationships
Looking for a different code? Search another status or error code.
