Site icon EfmSoft

What does NTSTATUS 0xC01E05E2 (STATUS_GRAPHICS_DISPLAY_DEVICE_NOT_ATTACHED_TO_DESKTOP) mean?

 
Previous Next
STATUS_GRAPHICS_NO_DISPLAY_DEVICE_CORRESPONDS_TO_NAME STATUS_GRAPHICS_MIRRORING_DEVICES_NOT_SUPPORTED

STATUS_GRAPHICS_DISPLAY_DEVICE_NOT_ATTACHED_TO_DESKTOP

STATUS_GRAPHICS_DISPLAY_DEVICE_NOT_ATTACHED_TO_DESKTOP means the selected GDI display device was not part of the Windows desktop at the time of the operation. This does not necessarily mean that the adapter or monitor has disappeared; enumeration can expose devices that are not currently attached to the desktop.

Windows exposes the attachment state through DISPLAY_DEVICE_ATTACHED_TO_DESKTOP. That flag should be checked from a fresh enumeration in the caller's session before an operation assumes that the device is a usable desktop target.

Useful distinctions

Use the actual attachment flag and current configuration to decide whether to select another output, wait for a topology change, or request an explicit attach operation through the supported display-control path.

References


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

Exit mobile version