|
![]() |
hbTapi Components and in particular the Enterprise Edition gives you the ability to call TAPI functions directly. This enables you to extend the functionality. ThbTapiLine and ThbTapiPhone provide several properties and events like Handle, OnTapiReply and OnTapiMessage to give you a low-level access to TAPI. The following example shows how to call a simple TAPI function like lineAnswerCall. The function is called using the call's handle and a sample text as user user information. The lineAnswer function returns an error or positive result code that means the function will complete asynchron. The result is catched within the OnTapiReply event. The OnTapiMessage can be used also. procedure TForm1.Button1Click(Sender: TObject); Properties and Events that are often used in context of TAPI functions are:
See also |