What does HRESULT 0xC0262313 (ERROR_GRAPHICS_PATH_ALREADY_IN_TOPOLOGY) mean?

 
Previous Next
ERROR_GRAPHICS_PINNED_MODE_MUST_REMAIN_IN_SET ERROR_GRAPHICS_MODE_ALREADY_IN_MODESET

ERROR_GRAPHICS_PATH_ALREADY_IN_TOPOLOGY

ERROR_GRAPHICS_PATH_ALREADY_IN_TOPOLOGY (0xC0262313) means the caller tried to add a VidPN present path that the topology already contains. It is a topology-construction error, not evidence that the physical monitor was detected twice.

Why it is important in clone mode

Clone configurations legitimately use one source with multiple targets. The duplicate is therefore not simply the repeated source ID; it is the attempt to insert an already represented source-to-target relationship instead of reusing or replacing the existing path data.

What to do in the driver

  • Enumerate existing paths through the topology interface before calling the add-path operation.
  • Use the current path descriptor to decide whether an update is required; do not add a second copy as a shortcut for changing transformations or modes.
  • Rebuild cached topology state after hot-plug, dock changes, and failed cofunctional enumeration, because a path list from an older VidPN can be stale.
  • Validate target ownership: one target cannot be assigned to more than one path in a VidPN.

Related statuses

ERROR_GRAPHICS_SOURCE_ALREADY_IN_SET and ERROR_GRAPHICS_TARGET_ALREADY_IN_SET describe duplicate entries in identifier sets. This code is specifically about a path already present in the topology.

Microsoft: enumerate and inspect VidPN paths

Microsoft: topology and clone view examples

Microsoft: graphics status codes


Looking for a different code? Search another status or error code.