| Previous | Next |
| OLE_E_PROMPTSAVECANCELLED | OLE_E_INVALIDRECT |
TAPI_E_INVALADDRESS
TAPI_E_INVALADDRESS: exact failure boundary
0x8004000C corresponds to TAPI_E_INVALADDRESS. The platform message is The phone number is invalid or not properly formatted. The diagnostic question is whether the destination does not conform to the selected address type or provider syntax.
Evidence to capture
- Record this result, 0x8004000C, the native method name, process and thread IDs, operation ID, component build, architecture, and elapsed time.
- Capture address type, destination form, media flags, provider capability, call state, privilege, and request or completion identifier.
- Keep IErrorInfo, provider extended status, relevant device/storage events, and the first lower-level failure.
- When handling this result, unsubscribe events, release call and terminal interfaces, cancel only live asynchronous requests, and let terminal call-state events drive final cleanup.
Likely causes to separate
- The phone number is malformed.
- A SIP URI is passed to a PSTN-only address.
- Location translation produces an empty or invalid destination.
Focused diagnostic test
Reproduce the same native call with the same object identity and change one cause candidate at a time. Preserve the first provider or lower-layer result and compare object state before cleanup. A different HRESULT after one controlled change is a new boundary, not proof that the original operation is fully repaired.
Correction
validate and normalize using the address type and provider rules before creating the call.
Verification
After correction, repeat the operation that returned this result. Verify the intended API operation completes and that any output, ownership transfer or persistent state is valid; do not treat disappearance of the dialog alone as success.
Technical references
- Microsoft: TAPI_E constants
- Microsoft: ITAddress:CreateCall
- Microsoft: ITBasicCallControl
- Microsoft: TAPI 3 reference
Looking for a different code? Search another status or error code.
