| Previous | Next |
| WININET_E_LOGIN_FAILURE | WININET_E_OPERATION_CANCELLED |
WININET_E_INVALID_OPERATION
WININET_E_INVALID_OPERATION is a WinINet HRESULT. It means that the application called a WinINet operation on an unsuitable handle or in an invalid sequence. For asynchronous work, a prior operation may still be pending.
What to check
- Verify the documented order of session, connection, request, send and read operations for the API in use.
- Check that the handle belongs to the expected type and has not already been closed or repurposed.
- Serialize operations that are not permitted concurrently and wait for asynchronous completion before changing request state.
Looking for a different code? Search another status or error code.