ThbTapiLine.OnTapiMessage
Unit: hbTapi

This event allows to capture all messages sent by TAPI to the application related to the line device. This is useful for those who need to use TAPI functions that are not supported by hbTapi Components at this time. The MessageID is either the handle of the line or the call. The meaning of the parameters Param1 to Param3 depends on the value of MessageID.

Device is either a handle to the line or a handle to the call. This is depending on the MessageID. Refer to the TAPI documentation to see how the paramters are used in different kinds messages.

Avalabiltity

Design-Time: Read, Write / Run-Time: Read, Write

Declaration

procedure OnTapiMessage(MessageID, Device, Param1, Param2, Param3: DWord);
property OnTapiMessage: ThbTapiMessageEvent;

Description

Please refer to the section "Line Device Messages" in TAPI's documentation for a more detailed information.

See Also

ThbTapiApplication.OnTapiMessage, Calling TAPI functions directy