第四章 結論
4.6 工作分配
方繼輝 50%
徐麒翔 50%
方繼輝 65%
程式規劃:
徐麒翔 35%
偵錯&測試:
方繼輝 40%
麒翔 40%
其他人 20%
報告:
方繼輝 30%
徐麒翔 70%
程式設計:
方繼輝 60%
徐麒翔 40%
徐
南”,華彩股份有限公司,2000年6月
[3]大新資訊,”MFC COM 程式設計教學教學“,p21~p166,基峯資訊,200 年
[ ” Telephony Application Programming Interfaces”,
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/
四月
4] MircoSoft,
tapi/tapi3/telephony_application_programming_interfaces.asp [5] Andreas Marschall’s TAPI and TSPI FAQ
http://www.i-b-a-m.de/Andreas_Marschall's_TAPI_and_TSPI_FAQ.htm [6]Voice Modem’s FAQ
engolf.com/en/voice-modem.htm http://www.k
附錄
這是我們再寫程式時,會參考到的東東 附錄1
TAPI架構的總覽
附錄一 TAPI架構總覽
Amstrmid.lib (ActiveMovie™ GUIDs)
Mdhcpid.lib (multicast GUIDs) Ole32.lib (COM)
Oleaut32.lib (COM Automation)
•
Rendid.lib (Rendezvous GUIDs)•
Rpcndr.lib•
Rpcns4.lib•
Rpcrt4.lib•
Sdpblbid.lib (Session Descriptor Protocol (SDP) GUIDs)•
Strmiids.lib附錄 3 錯誤代碼
The buffer passed in to this method was not big enough. ((HRESULT)0x80040001L) TAPI_E_NOITEMS
atch the request. ((HRESULT)0x80040002L) TAPI_E
TAPI_E_NOTENOUGHMEMORY
No items exist that m _INVALIDMEDIATYPE
An invalid media type was passed in. ((HRESULT)0x80040004L)
TAP
((HRESULT)0x80040005L) TAPI_E_ALLOCATED
((HRESULT)0x80040006L) TAP
((HRESULT)0x80040007L) TAPI_E
pletions are outstanding. ((HRESULT)0x80040008L)
TAP L
The conference is full and more members cannot be added. ((HRESULT)0x80040009L)
TAP NOTSUPPORTED
00AL) TAPI_E
n use. ((HRESULT)0x8004000BL)
TAP
nvalid 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
00CL) TAPI_E_INVALADDRESSSTATE
The operation is not permitted in the current address state I_E_OPERATIONFAILED
The operation failed for an unspecified reason.
The device is already in use.
I_E_CALLUNAVAIL
No call appearance is available.
_COMPLETIONOVERRUN Too many call com
I_E_CONFERENCEFUL
I_E_DIALMODIFIER
The dial modifier is not supported. ((HRESULT)0x80040 _INUSE
The device is already i I_E_INVALADDRESS
The address is i
a real phone number.
((HRESULT)0x80040
. ((HRESULT)0x8004000DL) TAPI_E_INVALCALLPARAMS
The LINECALLPARAMS structure is invalid. ((HRESULT)0x8004000EL) PI_E_INVALCALLPRIVILEGE
The call privilege TA
is invalid. ((HRESULT)0x8004000FL) TAPI_E_INVALCALLSTATE
The operation is not permitted in the current call state. ((HRESULT)0x80040010L) PI_E_INVALCARD
The calling card is invalid. ((HRESULT)0x80040011L) TA
EID
T
p r.
001FL) TAPI_E
conference. ((HRESULT)0x80040020L) TAPI_E
the device class is not recognized.
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_INVALMESSAG
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_INVALLIS
An invalid list was passed as a aramete ((HRESULT)0x8004001EL) TAPI_E_INVALMODE
An invalid mode was passed as a parameter. ((HRESULT)0x8004 _NOCONFERENCE
The call is not part of a _NODEVICE
The device was removed, or ((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
not registered to handle requests. ((HRESULT)0x80040024L) TAPI_E
full. ((HRESULT)0x80040025L)
API_E_TARGETNOTFOUND
The call handoff failed because the specified target was not found.
_NOTREGISTERED The application is _REQUESTOVERRUN
The request queue is already
T
((HRESULT)0x80040026L) TAPI_E
xists for the call handoff. ((HRESULT)0x80040027L) TAPI_E
information exceeds the maximum permitted.
29L) TAPI_E
to call this number. ((HRESULT)0x8004002AL) TAPI_E
or other billing information was rejected.
LAMPID
LT)0x80040033L) TAPI_E
r is busy. ((HRESULT)0x80040034L) TAPI_E
does not answer. ((HRESULT)0x80040035L) TAPI_E
ched. ((HRESULT)0x80040036L) _TARGETSELF
No higher priority target e _USERUSERINFOTOOBIG
The amount of user-user ((HRESULT)0x80040028L) TAPI_E_REINIT
The operation cannot be completed until all TAPI applications shut down and reinitialize.
((HRESULT)0x800400 _ADDRESSBLOCKED
You are not permitted _BILLINGREJECTED
The calling card number ((HRESULT)0x8004002BL) TAPI_E_INVALFEATURE
The device-specific feature is invalid. ((HRESULT)0x8004002CL) TAPI_E_INVALBUTTON
The button or lamp ID is invalid. ((HRESULT)0x8004002DL) TAPI_E_INVALBUTTONSTA
The button state is invalid. ((HRESULT)0x8004002EL) TAPI_E_INVALDATAID
The data segment ID is invalid. ((HRESULT)0x8004002FL) TAPI_E_INVALHOOKS
The hookswitch device ID is invalid. (( SULT)0x80040030L) TAPI_E_DROPPED
The call was disconnected. (( SULT)0x80040031L) TAPI_E_NOREQUESTRECIPI
No program is available to handle the requ (( SULT)0x80040032L) TAPI_E_REQUESTQUEU
The queue of call requests is full. ((HRESU _DESTBUSY
The called numbe _DESTNOANSWER
The called party _DESTUNAVAIL
The called number could not be rea TAPI_E_REQUESTFAILED
valid for this operation. ((HRESULT)0x8004003BL) ERMINALCLASS
The terminal passed in was in TAPI_E_INVALIDT
The terminal class is invalid. ((HRESULT)0x8004003CL) _NODRIVER
TAPI_E
oved. ((HRESULT)0x8004003DL)
TAPI_E
f streams was reached. ((HRESULT)0x8004003EL) TAPI_E
erformed because it requires terminals to be selected.
03FL) TAPI_E
erformed because the terminal is in use.
0041L) TAPI_E
inals has been reached. ((HRESULT)0x80040042L) TAPI_E
ssed in was invalid for this operation. ((HRESULT)0x80040043L) TAPI_E
eout. The timeout interval is two minutes.
EMOVED
rou Op ation on 0040045L)
TAPI_E
ved this queue. Operations on this object are invalid.
_AGENT_ID
g nt The service provider was rem
_MAXSTREAMS The maximum number o _NOTERMINALSELECTED
The operation could not be p ((HRESULT)0x80040 _TERMINALINUSE
The operation could not be p ((HRESULT)0x80040040L) TAPI_E_NOTSTOPPED
The operation could not be performed because it requires the stream to be stopped.
((HRESULT)0x8004 _MAXTERMINALS
The maximum number of term _INVALIDSTREAM
The stream pa _TIMEOUT
The call failed because of a tim ((HRESULT)0x80040044L) TAPI_E_CALLCENTER_GROUP_R
The ACD Proxy has removed this g p. er s this object are invalid.
((HRESULT)0x8
_CALLCENTER_QUEUE_REMOVED The ACD Proxy has remo
((HRESULT)0x80040046L) TAPI_E_CALLCENTER_NO
The Agent object was created with CreateA e and has no ID. If an ID is needed, use CreateAgentWithID.
47L) TAPI_E
The agent ID is invalid. SULT)0x80040048L) ENTGROUP
((HRESULT)0x800400
_CALLCENTER_INVALAGENTID
TAPI_E_CALLCENTER_INVALAG
The agent group is invalid. SULT)0x80040049L)
TAPI_E_CALLCENTER_INVALPASSWORD
L)
TAPI_E
SULT)0x8004004BL) TAPI_E
ESULT)0x8004004CL) CORRUPT
LT 0x80
004004EL) TAPI_E
idge terminal must be set to complete this operation.
0L) TAPI_E
pport the specified address type
The agent password is invalid. ESULT)0x8004004A _CALLCENTER_INVALAGENTSTATE
The agent state is invalid.
_CALLCENTER_INVALAGENTACTIVITY The agent activity is invalid.
TAPI_E_REGISTRY_SETTING_
The registry setting is corrupt. ESU ) 04004DL) TAPI_E_TERMINAL_PEER
The peer for one of these bridge terminals has already been assigned.
((HRESULT)0x8 _PEER_NOT_SET
The peer for this br
((HRESULT)0x8004004FL) TAPI_E_NOEVENT
There is no event in the MSP's event queue. ((HRESULT)0x8004005 _INVALADDRESSTYPE
This address does not su . ((HRESULT)0x80040051L) TAPI_E
e request is not available.
0052L)
t permitted for the current state.
_RESOURCEUNAVAIL A resource needed to fulfill th ((HRESULT)0x8004
_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 even TAPI_E_NOFORMAT
The format is unknown.
_INVALIDSTREAMSTATE
The operation is not permitted in current s _WRONG_STATE
The operation requested is no TAPI_E_NOT_INITIALIZED