| Previous | Next |
| TAPI_E_INVALBUTTONLAMPID | TAPI_E_INVALDATAID |
TAPI_E_INVALBUTTONSTATE
What TAPI_E_INVALBUTTONSTATE means
TAPI_E_INVALBUTTONSTATE A phone-button state value is invalid for the requested phone operation.
What to check
- Capture the phone object, button/lamp identifier, and requested state.
- Compare the state with the button capabilities exposed by the provider.
- Check whether the phone was reconfigured or reopened since the capability data was cached.
Handling
Use one of the states supported for that button on the current phone object and refresh capabilities after device or provider changes.
References
- Microsoft: TAPI_E constants — official Microsoft documentation used to interpret the HRESULT.
- Microsoft: TAPI 3.1 Reference
- Microsoft: Telephony API interfaces
Looking for a different code? Search another status or error code.