| Previous | Next |
| UCEERR_ILLEGALRECORDTYPE | UCEERR_UNCHANGABLE_UPDATE_ATTEMPTED |
UCEERR_OUTOFHANDLES
UCEERR_OUTOFHANDLES is a Windows User Composition Engine (UCE) HRESULT. It indicates that the engine cannot assign another internal handle for a composition resource.
What to check for UCEERR_OUTOFHANDLES
- Check for rapidly created visuals, images, effects, or other resources that are not released when no longer needed.
- Avoid retaining stale visual trees, render targets, or event handlers after views are closed.
- Profile managed and unmanaged resource counts during a long-running reproduction.
Microsoft guidance for WPF render-thread failures
Diagnostic discriminator: Measure UCE resource-handle usage at the failing operation. This status is handle-space exhaustion in the composition path, distinct from process memory exhaustion or an invalid connection identifier.
Looking for a different code? Search another status or error code.
