| Previous | Next |
| STATUS_GRAPHICS_PRESENT_UNOCCLUDED | STATUS_GRAPHICS_WINDOWLESS_PRESENT_DISABLED |
STATUS_GRAPHICS_WINDOWDC_NOT_AVAILABLE
STATUS_GRAPHICS_WINDOWDC_NOT_AVAILABLE means that the window device context required by this presentation path was not available. It identifies a missing or unavailable window/DC relationship at the time of the operation; it does not by itself identify the monitor, adapter, or GPU as defective.
Diagnose the window lifecycle and desktop binding first. Record the target window handle, whether it is being created, destroyed, hidden, or moved between desktops, and the session that owns the caller. A valid window in one desktop/session context is not automatically usable by a presenter associated with another context.
Useful checks
- Verify the window/DC acquisition sequence and release sequence in the application or integration layer.
- Record desktop and session transitions, especially when presentation is initiated by a helper process or service.
- Keep this status distinct from
STATUS_GRAPHICS_PRESENT_DENIED, which identifies denied desktop access rather than a missing window DC.
Recreating a GPU device without identifying the unavailable window context can hide the race and make it harder to reproduce.
References
- Microsoft: NTSTATUS reference
- Microsoft: DWM composition state
- Microsoft: console-session identification
Looking for a different code? Search another status or error code.