TAPI - Specifying which notification messages are to be receivedΒΆ

lineSetStatusMessages()

Specify which notification messages are to be received


SYNTAX

lineSetStatusMessages(DeviceID, DevStates, AddressStates)

This function enables an application to specify which notification messages it is to receive for events related to status changes for the specified line, or for any of its addresses.

DeviceID

Integer containing the number of the line device for which status messages are to be set.

DevStates

Integer containing a bit array that identifies the line-device status changes for which a message is to be sent to the application.

AddressStates

Integer containing a bit array that identifies the address status changes for which a message is to be sent to the application.


EXAMPLE

tmp.RC = lineSetStatusMessages(tmpDev, 0x1ffffff, 0)

RELATED TOPICS

TAPI