What does HRESULT 0x80040058 (TAPI_E_WRONG_STATE) mean?

 
Previous Next
TAPI_E_INVALIDSTREAMSTATE TAPI_E_NOT_INITIALIZED

TAPI_E_WRONG_STATE

The operation is illegal in the current TAPI lifecycle state

TAPI_E_WRONG_STATE (0x80040058) means the requested method is valid for the object in general but not for its present call/terminal/provider state. This is a sequencing result rather than proof that the target object is missing.

Evidence to capture

Capture object type, current TAPI state, requested method, preceding state-change events, and provider-specific state if available. Preserve the first transition that placed the object in this state.

Focused correction

Issue the method only after the required state transition, or choose the control action valid for the current state. If the event data itself is inappropriate, TAPI_E_WRONGEVENT is separate.

Technical references


Looking for a different code? Search another status or error code.