| Previous | Next |
| MILERR_DISPLAYFORMATNOTSUPPORTED | MILERR_ALREADYLOCKED |
MILERR_INVALIDCALL
MILERR_INVALIDCALL is a Windows Media Integration Layer (MIL) HRESULT. It indicates that the request is not allowed for the current object state, parameter combination, or rendering lifecycle stage.
What to check
- Verify the documented call order and state requirements for the resource or visual being used.
- Check that the object has been initialized and has not already been released or finalized.
- Remove optional flags and parameters until the failing call can be reproduced with a minimal valid request.
Microsoft documentation about WPF hardware-accelerated rendering
Looking for a different code? Search another status or error code.