Site icon EfmSoft

What does HRESULT 0x80263005 (DWM_E_ADAPTER_NOT_FOUND) mean?

 
Previous Next
DWM_E_NOT_QUEUING_PRESENTS DWM_E_TEXTURE_TOO_LARGE

DWM_E_ADAPTER_NOT_FOUND

DWM cannot find the adapter identified by the LUID

DWM_E_ADAPTER_NOT_FOUND is HRESULT 0x80263005 (signed decimal -2144980987, unsigned decimal 2149986309). AllStat and winerror.h describe a Desktop Window Manager operation whose supplied adapter locally unique identifier does not identify an adapter known to DWM.

An adapter LUID is meaningful only in the system and adapter-generation context in which it was obtained. The code therefore commonly points to stale identity, cross-session or cross-process transport mistakes, adapter removal, driver reset, hybrid-GPU transition, or an attempt to use an identifier from a different boot. It does not mean that Windows has no display adapter at all.

Relevant API context

Microsoft's documentation for DwmDxGetWindowSharedSurface explicitly lists DWM_E_ADAPTER_NOT_FOUND when the luidAdapter value is invalid. That API is intended for a graphics driver or runtime, is documented only for Windows 7, and is not a normal application API. For any other call site, preserve the exact function because the public description does not prove a broader owner.

Causes to separate

Diagnostic sequence

Difference from neighboring results

DWM_E_NO_REDIRECTION_SURFACE_AVAILABLE can occur even with a valid adapter when DWM cannot provide the required window surface. DWM_E_TEXTURE_TOO_LARGE means the selected path cannot support the requested dimensions. Here the decisive input is adapter identity. Shrinking content or waiting for a surface will not repair a stale LUID.

Recovery

Discard the failed adapter-bound generation, enumerate the adapters visible to the current process/session, select the adapter associated with the target output or window, and rebuild dependent devices and surfaces. Retry only with a newly validated LUID. If the application must persist a user preference, persist a stable descriptive preference and remap it to a current adapter at startup; do not persist a LUID as a durable machine identity.

Telemetry

Practical scenario

A capture runtime records an adapter LUID at startup. The GPU driver is reset and the runtime rebuilds its Direct3D device but continues using the old LUID for a DWM shared-surface request. DWM returns DWM_E_ADAPTER_NOT_FOUND. Re-enumerating and binding the new adapter generation fixes the identity error; retrying with the cached value cannot.

References


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

Exit mobile version