| Previous | Next |
| ERROR_GRAPHICS_SOURCE_ALREADY_IN_SET | ERROR_GRAPHICS_INVALID_VIDPN_PRESENT_PATH |
ERROR_GRAPHICS_TARGET_ALREADY_IN_SET
ERROR_GRAPHICS_TARGET_ALREADY_IN_SET identifies duplicate insertion of a target ID. In VidPN terminology, a target is an output endpoint such as a connector or embedded panel. The topology rules allow a source to drive several targets, but a particular target is associated with at most one source path at a time.
Inspect code that derives target sets from child-device enumeration or hot-plug notifications. Duplicate connector reports, reuse of a stale child ID, or adding the same target once for each candidate mode can all produce this status. Do not deduplicate by display name; use the target identifier assigned for the adapter and rebuild the set after topology changes.
Target identity checks
- Compare child relation IDs with the target IDs placed in the VidPN.
- Ensure a hot-plug event updates an existing target instead of appending a second copy.
- Keep candidate modes in the target mode set, not as repeated target entries.
- Reacquire topology objects after a monitor arrival or departure.
Microsoft: obtaining the source associated with a target
Microsoft: VidPN topology and sub-objects
Linux DRM/KMS: connector identity and connection state
Looking for a different code? Search another status or error code.