TAPI_E_ Constants

TAPI methods and functions may return a TAPI_E_ constant. These constants indicate the outcome of an API call.

Constant/value Description
TAPI_E_NOTENOUGHMEMORY
((HRESULT)0x80040001L)
The buffer passed in to this method was not big enough.
TAPI_E_NOITEMS
((HRESULT)0x80040002L)
No items exist that match the request.
TAPI_E_INVALIDMEDIATYPE
((HRESULT)0x80040004L)
An invalid media type was passed in.
TAPI_E_OPERATIONFAILED
((HRESULT)0x80040005L)
The operation failed for an unspecified reason.
TAPI_E_ALLOCATED
((HRESULT)0x80040006L)
The device is already in use.
TAPI_E_CALLUNAVAIL
((HRESULT)0x80040007L)
No call appearance is available.
TAPI_E_COMPLETIONOVERRUN
((HRESULT)0x80040008L)
Too many call completions are outstanding.
TAPI_E_CONFERENCEFULL
((HRESULT)0x80040009L)
The conference is full and more members cannot be added.
TAPI_E_DIALMODIFIERNOTSUPPORTED
((HRESULT)0x8004000AL)
The dial modifier is not supported.
TAPI_E_INUSE
((HRESULT)0x8004000BL)
The device is already in use.
TAPI_E_INVALADDRESS
((HRESULT)0x8004000CL)
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.
TAPI_E_INVALADDRESSSTATE
((HRESULT)0x8004000DL)
The operation is not permitted in the current address state.
TAPI_E_INVALCALLPARAMS
((HRESULT)0x8004000EL)
The LINECALLPARAMS structure is invalid.
TAPI_E_INVALCALLPRIVILEGE
((HRESULT)0x8004000FL)
The call privilege is invalid.
TAPI_E_INVALCALLSTATE
((HRESULT)0x80040010L)
The operation is not permitted in the current call state.
TAPI_E_INVALCARD
((HRESULT)0x80040011L)
The calling card is invalid.
TAPI_E_INVALCOMPLETIONID
((HRESULT)0x80040012L)
The call completion ID is invalid.
TAPI_E_INVALCOUNTRYCODE
((HRESULT)0x80040013L)
The country or region code is invalid.
TAPI_E_INVALDEVICECLASS
((HRESULT)0x80040014L)
The device class identifier is invalid.
TAPI_E_INVALDIALPARAMS
((HRESULT)0x80040015L)
The dialing parameters are invalid.
TAPI_E_INVALDIGITS
((HRESULT)0x80040016L)
The digits are invalid.
TAPI_E_INVALGROUPID
((HRESULT)0x80040017L)
The group pickup ID is invalid.
TAPI_E_INVALLOCATION
((HRESULT)0x80040018L)
The location ID is invalid.
TAPI_E_INVALMESSAGEID
(HRESULT)0x80040019L)
The message ID is invalid. (
TAPI_E_INVALPARKID
((HRESULT)0x8004001AL)
The park ID is invalid.
TAPI_E_INVALRATE
((HRESULT)0x8004001BL)
The rate is invalid.
TAPI_E_INVALTIMEOUT
((HRESULT)0x8004001CL)
The timeout value is invalid.
TAPI_E_INVALTONE
((HRESULT)0x8004001DL)
The tone is invalid.
TAPI_E_INVALLIST
((HRESULT)0x8004001EL)
An invalid list was passed as a parameter.
TAPI_E_INVALMODE
((HRESULT)0x8004001FL)
An invalid mode was passed as a parameter.
TAPI_E_NOCONFERENCE
((HRESULT)0x80040020L)
The call is not part of a conference.
TAPI_E_NODEVICE
((HRESULT)0x80040021L)
The device was removed, or the device class is not recognized.
TAPI_E_NOREQUEST
((HRESULT)0x80040022L)
No Assisted Telephony requests are pending.
TAPI_E_NOTOWNER
((HRESULT)0x80040023L)
The application does not have OWNER privilege on the call.
TAPI_E_NOTREGISTERED
((HRESULT)0x80040024L)
The application is not registered to handle requests.
TAPI_E_REQUESTOVERRUN
((HRESULT)0x80040025L)
The request queue is already full.
TAPI_E_TARGETNOTFOUND
((HRESULT)0x80040026L)
The call handoff failed because the specified target was not found.
TAPI_E_TARGETSELF
((HRESULT)0x80040027L)
No higher priority target exists for the call handoff.
TAPI_E_USERUSERINFOTOOBIG
((HRESULT)0x80040028L)
The amount of user-user information exceeds the maximum permitted.
TAPI_E_REINIT
((HRESULT)0x80040029L)
The operation cannot be completed until all TAPI applications shut down and reinitialize.
TAPI_E_ADDRESSBLOCKED
((HRESULT)0x8004002AL)
You are not permitted to call this number.
TAPI_E_BILLINGREJECTED
((HRESULT)0x8004002BL)
The calling card number or other billing information was rejected.
TAPI_E_INVALFEATURE
((HRESULT)0x8004002CL)
The device-specific feature is invalid.
TAPI_E_INVALBUTTONLAMPID
((HRESULT)0x8004002DL)
The button or lamp ID is invalid.
TAPI_E_INVALBUTTONSTATE
((HRESULT)0x8004002EL)
The button state is invalid.
TAPI_E_INVALDATAID
((HRESULT)0x8004002FL)
The data segment ID is invalid.
TAPI_E_INVALHOOKSWITCHDEV
((HRESULT)0x80040030L)
The hookswitch device ID is invalid.
TAPI_E_DROPPED
((HRESULT)0x80040031L)
The call was disconnected.
TAPI_E_NOREQUESTRECIPIENT
((HRESULT)0x80040032L)
No program is available to handle the request.
TAPI_E_REQUESTQUEUEFULL
((HRESULT)0x80040033L)
The queue of call requests is full.
TAPI_E_DESTBUSY
((HRESULT)0x80040034L)
The called number is busy.
TAPI_E_DESTNOANSWER
((HRESULT)0x80040035L)
The called party does not answer.
TAPI_E_DESTUNAVAIL
((HRESULT)0x80040036L)
The called number could not be reached.
TAPI_E_REQUESTFAILED
((HRESULT)0x80040037L)
The request failed for unspecified reasons.
TAPI_E_REQUESTCANCELLED
((HRESULT)0x80040038L)
The request was cancelled.
TAPI_E_INVALPRIVILEGE
((HRESULT)0x80040039L)
The application's privilege level is invalid for the current operation.
TAPI_E_INVALIDDIRECTION
((HRESULT)0x8004003AL)
The TERMINAL_DIRECTION passed in was invalid.
TAPI_E_INVALIDTERMINAL
((HRESULT)0x8004003BL)
The terminal passed in was invalid for this operation.
TAPI_E_INVALIDTERMINALCLASS
((HRESULT)0x8004003CL)
The terminal class is invalid.
TAPI_E_NODRIVER
((HRESULT)0x8004003DL)
The service provider was removed.
TAPI_E_MAXSTREAMS
((HRESULT)0x8004003EL)
The maximum number of streams was reached.
TAPI_E_NOTERMINALSELECTED
((HRESULT)0x8004003FL)
The operation could not be performed because it requires terminals to be selected.
TAPI_E_TERMINALINUSE
((HRESULT)0x80040040L)
The operation could not be performed because the terminal is in use.
TAPI_E_NOTSTOPPED
((HRESULT)0x80040041L)
The operation could not be performed because it requires the stream to be stopped.
TAPI_E_MAXTERMINALS
((HRESULT)0x80040042L)
The maximum number of terminals has been reached.
TAPI_E_INVALIDSTREAM
((HRESULT)0x80040043L)
The stream passed in was invalid for this operation.
TAPI_E_TIMEOUT
((HRESULT)0x80040044L)
The call failed because of a timeout. The timeout interval is two minutes.
TAPI_E_CALLCENTER_GROUP_REMOVED
((HRESULT)0x80040045L)
The ACD Proxy has removed this group. Operations on this object are invalid.
TAPI_E_CALLCENTER_QUEUE_REMOVED
((HRESULT)0x80040046L)
The ACD Proxy has removed this queue. Operations on this object are invalid.
TAPI_E_CALLCENTER_NO_AGENT_ID
((HRESULT)0x80040047L)
The Agent object was created with CreateAgent and has no ID. If an ID is needed, use CreateAgentWithID.
TAPI_E_CALLCENTER_INVALAGENTID
((HRESULT)0x80040048L)
The agent ID is invalid.
TAPI_E_CALLCENTER_INVALAGENTGROUP
((HRESULT)0x80040049L)
The agent group is invalid.
TAPI_E_CALLCENTER_INVALPASSWORD
((HRESULT)0x8004004AL)
The agent password is invalid.
TAPI_E_CALLCENTER_INVALAGENTSTATE
((HRESULT)0x8004004BL)
The agent state is invalid.
TAPI_E_CALLCENTER_INVALAGENTACTIVITY
((HRESULT)0x8004004CL)
The agent activity is invalid.
TAPI_E_REGISTRY_SETTING_CORRUPT
((HRESULT)0x8004004DL)
The registry setting is corrupt.
TAPI_E_TERMINAL_PEER
((HRESULT)0x8004004EL)
The peer for one of these bridge terminals has already been assigned.
TAPI_E_PEER_NOT_SET
((HRESULT)0x8004004FL)
The peer for this bridge terminal must be set to complete this operation.
TAPI_E_NOEVENT
((HRESULT)0x80040050L)
There is no event in the MSP's event queue.
TAPI_E_INVALADDRESSTYPE
((HRESULT)0x80040051L)
This address does not support the specified address type.
TAPI_E_RESOURCEUNAVAIL
((HRESULT)0x80040052L)
A resource needed to fulfill the request is not available.
TAPI_E_PHONENOTOPEN
The phone is not open.
TAPI_E_CALLNOTSELECTED
The specified call is not currently selected.
TAPI_E_WRONGEVENT
This information is not available for this type of event.
TAPI_E_NOFORMAT
The format is unknown.
TAPI_E_INVALIDSTREAMSTATE
The operation is not permitted in current stream state.
TAPI_E_WRONG_STATE
The operation requested is not permitted for the current state.
TAPI_E_NOT_INITIALIZED
The object has not been initialized.

Requirements

Requirement Value
TAPI version
Requires TAPI 3.0 or later
Header
Tapi3err.h