| Previous | Next |
| WDSTPC_E_ALREADY_COMPLETED | WDSTPC_E_UNKNOWN_ERROR |
WDSTPC_E_ALREADY_IN_PROGRESS
WDSTPC_E_ALREADY_IN_PROGRESS is a duplicate-start/session-state error. WdsTransportClientInitializeSession sets up a transfer, while WdsTransportClientStartSession starts it; application wrappers should not perform the start transition more than once for one active session.
Serialize the session start transition
- Protect the transition from initialized to in-progress when multiple worker threads can operate on the same handle.
- Log the first successful start together with namespace, object name, and server from the transport request.
- Use
WdsTransportClientQueryStatusto observe an active transfer instead of callingStartSessionagain.
The client API separates initialization from start specifically, so a convenient retry helper can accidentally duplicate the start after a timeout in application code even though the transfer began. Correlate transport callbacks with the session handle and application request ID. If the same logical download is intentionally restarted, cancel/close the old session according to the client API and create a fresh session rather than overlapping state machines.
InitializeSession lifecycle · StartSession lifecycle · Transport request structure
Looking for a different code? Search another status or error code.