| Previous | Next |
| ERROR_GRAPHICS_NO_RECOMMENDED_FUNCTIONAL_VIDPN | ERROR_GRAPHICS_EMPTY_ADAPTER_MONITOR_MODE_SUPPORT_INTERSECTION |
ERROR_GRAPHICS_MODE_ID_MUST_BE_UNIQUE
ERROR_GRAPHICS_MODE_ID_MUST_BE_UNIQUE indicates that a source, target, or monitor mode set contains duplicate mode IDs. VidPN Manager can assign identifiers when mode-info structures are created, while a miniport driver may override them; the final identifier still has to be unique within that set.
Do not derive the ID only from width, height, and refresh rate because different timings can share those visible properties. Prefer the identifier supplied by the interface, or use a collision-free allocator tied to the set. Reinitialize the allocator whenever a new set is created so that retries do not reuse IDs left in an existing partially populated collection.
Why a display-name key is insufficient
- Different blanking timings can produce the same nominal resolution and refresh.
- Progressive and interlaced variants require distinct mode records.
- Color basis or wire-format constraints can distinguish target modes.
- The same numeric ID may be reused in another set, but not twice in one set.
Microsoft: VidPN source mode identifiers
Microsoft: VidPN target mode identifiers
Microsoft: target mode set interface
Looking for a different code? Search another status or error code.
