TAPI_E_ Constants
TAPI methods and functions may return a TAPI_E_ constant. These constants indicate the outcome of an API call.
The 32 bit values are laid out as follows:
3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1
1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0
---+-+-+-----------------------+-------------------------------+
Sev|C|R| Facility | Code |
---+-+-+-----------------------+-------------------------------+
Section |
Description |
Sev - Severity Code |
00 - Success |
|
01 - Informational |
10 - Warning |
11 - Error |
C |
Customer code flag |
R |
Reserved bit |
Facility |
Facility code |
Code |
Facility's status code |
- TAPI_E_NOTENOUGHMEMORY
- The buffer passed in to this method was not big enough.
((HRESULT)0x80040001L)
- TAPI_E_NOITEMS
- No items exist that match the request.
((HRESULT)0x80040002L)
- TAPI_E_NOTSUPPORTED
- This method is not supported.
((HRESULT)0x80040003L)
- TAPI_E_INVALIDMEDIATYPE
- An invalid media type was passed in.
((HRESULT)0x80040004L)
- TAPI_E_OPERATIONFAILED
- The operation failed for an unspecified reason.
((HRESULT)0x80040005L)
- TAPI_E_ALLOCATED
- The device is already in use.
((HRESULT)0x80040006L)
TAPI_E_CALLUNAVAIL
No call appearance is available.
((HRESULT)0x80040007L)
- TAPI_E_COMPLETIONOVERRUN
- Too many call completions are outstanding.
((HRESULT)0x80040008L)
- TAPI_E_CONFERENCEFULL
- The conference is full and more members cannot be added.
((HRESULT)0x80040009L)
- TAPI_E_DIALMODIFIERNOTSUPPORTED
- The dial modifier is not supported.
((HRESULT)0x8004000AL)
- TAPI_E_INUSE
- The device is already in use.
((HRESULT)0x8004000BL)
- TAPI_E_INVALADDRESS
- The address is invalid or not properly formatted. For example, if address type is LINEADDRESSTYPE_PHONENUMBER, this error code would mean that the data entered did not appear to be a real phone number.
((HRESULT)0x8004000CL)
- TAPI_E_INVALADDRESSSTATE
- The operation is not permitted in the current address state.
((HRESULT)0x8004000DL)
- TAPI_E_INVALCALLPARAMS
- The LINECALLPARAMS structure is invalid.
((HRESULT)0x8004000EL)
- TAPI_E_INVALCALLPRIVILEGE
- The call privilege is invalid.
((HRESULT)0x8004000FL)
- TAPI_E_INVALCALLSTATE
- The operation is not permitted in the current call state.
((HRESULT)0x80040010L)
- TAPI_E_INVALCARD
- The calling card is invalid.
((HRESULT)0x80040011L)
- TAPI_E_INVALCOMPLETIONID
- The call completion ID is invalid.
((HRESULT)0x80040012L)
- TAPI_E_INVALCOUNTRYCODE
- The country code is invalid.
((HRESULT)0x80040013L)
- TAPI_E_INVALDEVICECLASS
- The device class identifier is invalid.
((HRESULT)0x80040014L)
- TAPI_E_INVALDIALPARAMS
- The dialing parameters are invalid.
((HRESULT)0x80040015L)
- TAPI_E_INVALDIGITS
- The digits are invalid.
((HRESULT)0x80040016L)
- TAPI_E_INVALGROUPID
- The group pickup ID is invalid.
((HRESULT)0x80040017L)
- TAPI_E_INVALLOCATION
- The location ID is invalid.
((HRESULT)0x80040018L)
- TAPI_E_INVALMESSAGEID
- The message ID is invalid.
((HRESULT)0x80040019L)
- TAPI_E_INVALPARKID
- The park ID is invalid.
((HRESULT)0x8004001AL)
- TAPI_E_INVALRATE
- The rate is invalid.
((HRESULT)0x8004001BL)
- TAPI_E_INVALTIMEOUT
- The timeout value is invalid.
((HRESULT)0x8004001CL)
- TAPI_E_INVALTONE
- The tone is invalid.
((HRESULT)0x8004001DL)
- TAPI_E_INVALLIST
- An invalid list was passed as a parameter.
((HRESULT)0x8004001EL)
- TAPI_E_INVALMODE
- An invalid mode was passed as a parameter.
((HRESULT)0x8004001FL)
- TAPI_E_NOCONFERENCE
- The call is not part of a conference.
((HRESULT)0x80040020L)
- TAPI_E_NODEVICE
- The device was removed, or the device class is not recognized.
((HRESULT)0x80040021L)
- TAPI_E_NOREQUEST
- No Assisted Telephony requests are pending.
((HRESULT)0x80040022L)
- TAPI_E_NOTOWNER
- The application does not have OWNER privilege on the call.
((HRESULT)0x80040023L)
- TAPI_E_NOTREGISTERED
- The application is not registered to handle requests.
((HRESULT)0x80040024L)
- TAPI_E_REQUESTOVERRUN
- The request queue is already full.
((HRESULT)0x80040025L)
- TAPI_E_TARGETNOTFOUND
- The call handoff failed because the specified target was not found.
((HRESULT)0x80040026L)
- TAPI_E_TARGETSELF
- No higher priority target exists for the call handoff.
((HRESULT)0x80040027L)
- TAPI_E_USERUSERINFOTOOBIG
- The amount of user-user information exceeds the maximum permitted.
((HRESULT)0x80040028L)
- TAPI_E_REINIT
- The operation cannot be completed until all TAPI applications shut down and reinitialize.
((HRESULT)0x80040029L)
- TAPI_E_ADDRESSBLOCKED
- You are not permitted to call this number.
((HRESULT)0x8004002AL)
- TAPI_E_BILLINGREJECTED
- The calling card number or other billing information was rejected.
((HRESULT)0x8004002BL)
- TAPI_E_INVALFEATURE
- The device-specific feature is invalid.
((HRESULT)0x8004002CL)
- TAPI_E_INVALBUTTONLAMPID
- The button or lamp ID is invalid.
((HRESULT)0x8004002DL)
- TAPI_E_INVALBUTTONSTATE
- The button state is invalid.
((HRESULT)0x8004002EL)
- TAPI_E_INVALDATAID
- The data segment ID is invalid.
((HRESULT)0x8004002FL)
- TAPI_E_INVALHOOKSWITCHDEV
- The hookswitch device ID is invalid.
((HRESULT)0x80040030L)
- TAPI_E_DROPPED
- The call was disconnected.
((HRESULT)0x80040031L)
- TAPI_E_NOREQUESTRECIPIENT
- No program is available to handle the request.
((HRESULT)0x80040032L)
- TAPI_E_REQUESTQUEUEFULL
- The queue of call requests is full.
((HRESULT)0x80040033L)
- TAPI_E_DESTBUSY
- The called number is busy.
((HRESULT)0x80040034L)
- TAPI_E_DESTNOANSWER
- The called party does not answer.
((HRESULT)0x80040035L)
- TAPI_E_DESTUNAVAIL
- The called number could not be reached.
((HRESULT)0x80040036L)
- TAPI_E_REQUESTFAILED
- The request failed for unspecified reasons.
((HRESULT)0x80040037L)
- TAPI_E_REQUESTCANCELLED
- The request was cancelled.
((HRESULT)0x80040038L)
- TAPI_E_INVALPRIVILEGE
- The application's privilege level is invalid for the current operation.
((HRESULT)0x80040039L)
- TAPI_E_INVALIDDIRECTION
- The TERMINAL_DIRECTION passed in was invalid.
((HRESULT)0x8004003AL)
- TAPI_E_INVALIDTERMINAL
- The terminal passed in was invalid for this operation.
((HRESULT)0x8004003BL)
- TAPI_E_INVALIDTERMINALCLASS
- The terminal class is invalid.
((HRESULT)0x8004003CL)
- TAPI_E_NODRIVER
- The service provider was removed.
((HRESULT)0x8004003DL)
- TAPI_E_MAXSTREAMS
- The maximum number of streams was reached.
((HRESULT)0x8004003EL)
- TAPI_E_NOTERMINALSELECTED
- The operation could not be performed because it requires terminals to be selected.
((HRESULT)0x8004003FL)
- TAPI_E_TERMINALINUSE
- The operation could not be performed because the terminal is in use.
((HRESULT)0x80040040L)
- TAPI_E_NOTSTOPPED
- The operation could not be performed because it requires the stream to be stopped.
((HRESULT)0x80040041L)
- TAPI_E_MAXTERMINALS
- The maximum number of terminals has been reached.
((HRESULT)0x80040042L)
- TAPI_E_INVALIDSTREAM
- The stream passed in was invalid for this operation.
((HRESULT)0x80040043L)
- TAPI_E_TIMEOUT
- The call failed because of a timeout. The timeout interval is two minutes.
((HRESULT)0x80040044L)
- TAPI_E_CALLCENTER_GROUP_REMOVED
- The ACD Proxy has removed this group. Operations on this object are invalid.
((HRESULT)0x80040045L)
- TAPI_E_CALLCENTER_QUEUE_REMOVED
- The ACD Proxy has removed this queue. Operations on this object are invalid.
((HRESULT)0x80040046L)
- TAPI_E_CALLCENTER_NO_AGENT_ID
- The Agent object was created with CreateAgent and has no ID. If an ID is needed, use CreateAgentWithID.
((HRESULT)0x80040047L)
- TAPI_E_CALLCENTER_INVALAGENTID
- The agent ID is invalid.
((HRESULT)0x80040048L)
- TAPI_E_CALLCENTER_INVALAGENTGROUP
- The agent group is invalid.
((HRESULT)0x80040049L)
- TAPI_E_CALLCENTER_INVALPASSWORD
- The agent password is invalid.
((HRESULT)0x8004004AL)
- TAPI_E_CALLCENTER_INVALAGENTSTATE
- The agent state is invalid.
((HRESULT)0x8004004BL)
- TAPI_E_CALLCENTER_INVALAGENTACTIVITY
- The agent activity is invalid.
((HRESULT)0x8004004CL)
- TAPI_E_REGISTRY_SETTING_CORRUPT
- The registry setting is corrupt.
((HRESULT)0x8004004DL)
- TAPI_E_TERMINAL_PEER
- The peer for one of these bridge terminals has already been assigned.
((HRESULT)0x8004004EL)
- TAPI_E_PEER_NOT_SET
- The peer for this bridge terminal must be set to complete this operation.
((HRESULT)0x8004004FL)
- TAPI_E_NOEVENT
- There is no event in the MSP's event queue.
((HRESULT)0x80040050L)
- TAPI_E_INVALADDRESSTYPE
- This address does not support the specified address type.
((HRESULT)0x80040051L)
- TAPI_E_RESOURCEUNAVAIL
- A resource needed to fulfill the request is not available.
((HRESULT)0x80040052L)
Windows NT/2000: Requires Windows 2000.
Version: Requires TAPI 3.0 or later.
Header: Declared in Tapi3err.h.