| Previous | Next |
| DWM_S_GDI_REDIRECTION_SURFACE | NAP_S_CERT_ALREADY_PRESENT |
DWM_S_GDI_REDIRECTION_SURFACE_BLT_VIA_GDI
DWM redirection surface must be copied through GDI
DWM_S_GDI_REDIRECTION_SURFACE_BLT_VIA_GDI is HRESULT 2502664 (0x00263008) from winerror.h. The documented description is “{GDI redirection surface is either on a different adapter or in system memory; Perform blt via GDI} GDI redirection surface is either on a different adapter or in system memory; Perform blt via GDI.” 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.
A cleared severity bit does not make the return equivalent to ordinary completion; the postcondition remains specific.
What must be true before accepting it
Verify that the surface is on another adapter or in system memory and the caller selects a compatible GDI blit path. That proof prevents usable partial state from being confused with full completion.
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;
Correct handling and recovery
Perform the copy through GDI, preserve clipping and color semantics, and measure the fallback cost. Re-evaluate when adapter or window placement changes.
Retry after this result only when a recorded input, capability, resource, policy, or state has changed.
Practical scenario
A window moves between adapters and its capture surface becomes system-memory backed. The capture tool switches to GDI blit and avoids a failing GPU copy.
Difference from nearby results
DWM_S_GDI_REDIRECTION_SURFACE returns the surface without requiring this specific cross-adapter or system-memory fallback.
Using one generic success branch for this HRESULT and its neighbor can lose output, repeat work, or misreport completion.
References
Looking for a different code? Search another status or error code.