What does HRESULT 0x0026234B (ERROR_GRAPHICS_DATASET_IS_EMPTY) mean?

 
Previous Next
ERROR_GRAPHICS_NO_PREFERRED_MODE ERROR_GRAPHICS_NO_MORE_ELEMENTS_IN_DATASET

ERROR_GRAPHICS_DATASET_IS_EMPTY

Graphics dataset contains no elements

ERROR_GRAPHICS_DATASET_IS_EMPTY is HRESULT 2499403 (0x0026234B) from winerror.h. The documented description is “Specified data set (e.g; mode set, frequency range set, descriptor set, topology, etc.) is empty.” In the Windows display topology or Desktop Window Manager operation, the value reports a nonfailure state that must not be collapsed into plain S_OK.

The application should branch on this result before a generic success path consumes the details.

Where the status is encountered

  • VidPN mode-set, topology, and path negotiation; capture the exact API, object, and phase because the same numeric success severity does not define the state by itself.
  • Display miniport and graphics-kernel dataset enumeration;
  • DWM composition and GDI redirection-surface handling;

What must be true before accepting it

Verify that the empty set is valid for the queried phase or triggers a controlled reconstruction rather than unchecked enumeration. The boundary determines whether the caller continues, waits, falls back, or ends the operation.

Correct handling and recovery

Stop enumeration, identify why the set is empty, and repopulate or select another topology only when the driver contract expects elements.

Difference from nearby results

NO_MORE_ELEMENTS follows consumption of a nonempty set; DATASET_IS_EMPTY says it began with none.

The distinction around it should be visible in control flow, telemetry classification, and user messaging.

Practical scenario

A target mode set is empty after a monitor disconnect. The service rebuilds topology instead of treating an iterator failure as corruption.

References


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