| Previous | Next |
| ERROR_GRAPHICS_MODE_ALREADY_IN_MODESET | ERROR_GRAPHICS_INVALID_VIDEOPRESENTTARGETSET |
ERROR_GRAPHICS_INVALID_VIDEOPRESENTSOURCESET
ERROR_GRAPHICS_INVALID_VIDEOPRESENTSOURCESET (0xC0262315) means a collection of VidPN video-present source identifiers was invalid for the requested operation. This is not a source mode set: it concerns the set of display sources participating in a topology or query.
Why source identity matters
Windows assigns VidPN source identifiers for the display sources supported by the adapter. A valid source set must refer to current sources and must respect the constraints of the topology being built or queried. A stale source ID can be produced after an adapter reset, a GPU switch, or reuse of state from a previous enumeration pass.
Checks for a miniport or topology component
- Obtain the source count and current topology from the active adapter context; do not invent or cache source IDs across device lifetime boundaries.
- Enumerate the current paths before building a source set, especially for clone or extend configurations.
- Separate source-set validation from source-mode validation. A valid surface format does not make an invalid source ID acceptable.
- On a failure path, release acquired VidPN objects and rebuild the request from the current topology rather than continuing with partially retained sets.
Clone configurations
A source can participate in more than one path, which is how clone presentation is represented. That does not make every source combination valid: the corresponding target modes and transformations still have to be cofunctional.
Microsoft: VidPN topology, sources, targets, and paths
Microsoft: clone-view topology model
Linux kernel: display routing and active pipeline constraints
Looking for a different code? Search another status or error code.