What does HRESULT 0xC026232F (ERROR_GRAPHICS_INVALID_VIDPN_TARGET_SUBSET_TYPE) mean?

 
Previous Next
ERROR_GRAPHICS_MONITORDESCRIPTOR_ID_MUST_BE_UNIQUE ERROR_GRAPHICS_RESOURCES_NOT_RELATED

ERROR_GRAPHICS_INVALID_VIDPN_TARGET_SUBSET_TYPE

ERROR_GRAPHICS_INVALID_VIDPN_TARGET_SUBSET_TYPE indicates that a topology-related request used a target-subset enumeration value outside the contract expected by the interface. This is a programming or versioning problem, not evidence that a particular monitor mode is unsupported.

Log the raw subset value and the DDI version under which the callback runs. Initialize the entire argument structure, avoid carrying private enum values across user/kernel boundaries, and validate that headers used to compile the driver match the runtime contract. Replacing the target list will not help until the classification field itself is valid.

Interface-contract checks

  • Zero-initialize structures before setting documented fields.
  • Reject unknown enum values before calling VidPN interfaces.
  • Keep private target-selection modes out of public DDI fields.
  • Record WDDM and interface versions when decoding captured arguments.

Microsoft: VidPN interface contract

Microsoft: topology recommendation arguments

Microsoft: topology and target-set objects


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