| Previous | Next |
| MILERR_INVALIDCALL | MILERR_NOTLOCKED |
MILERR_ALREADYLOCKED
MILERR_ALREADYLOCKED is a Windows Media Integration Layer (MIL) HRESULT. It indicates that code attempted to lock a MIL resource that is already locked by the current or another operation.
What to check
- Pair every successful lock with exactly one unlock on all normal and error paths.
- Check reentrant callbacks and concurrent access that can request a second lock before the first is released.
- Use a single owner or explicit synchronization for resources shared by multiple threads.
Microsoft documentation about WPF hardware-accelerated rendering
Looking for a different code? Search another status or error code.