The OnDeviceStateChanged event is fired when the state of the device has changed.
Event OnDeviceStateChanged( m_Line As ITAPILine, DeviceState As LINEDEVSTATE)