What does HRESULT 0xC026231C (ERROR_GRAPHICS_INVALID_MONITOR_FREQUENCYRANGE) mean?

 
Previous Next
ERROR_GRAPHICS_INVALID_MONITOR_FREQUENCYRANGESET ERROR_GRAPHICS_FREQUENCYRANGE_NOT_IN_SET

ERROR_GRAPHICS_INVALID_MONITOR_FREQUENCYRANGE

ERROR_GRAPHICS_INVALID_MONITOR_FREQUENCYRANGE applies to an individual range descriptor. The structure can describe minimum and maximum vertical synchronization frequency, horizontal frequency, and pixel rate; these values must form a physically and mathematically valid interval.

Check the rational values before converting them to rounded integers. A zero denominator, reversed bounds, overflow during unit conversion, or mixing hertz and kilohertz can invalidate an otherwise plausible-looking range. Also compare the range with the detailed timing descriptors used to build monitor source modes, because a parser bug can leave the two capability views inconsistent.

Fields worth logging without rounding

  • Minimum and maximum vertical synchronization rationals.
  • Horizontal synchronization bounds and their units.
  • Maximum pixel rate or pixel clock constraint.
  • The descriptor block and capability origin from which the range was derived.

Microsoft: D3DKMDT_FREQUENCY_RANGE fields

Microsoft: monitor frequency-range access

Linux DRM helpers: EDID parsing and mode construction


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