IrDA Framework C++ Edition

◆ OnChange()

__event void OnChange ( void *  Sender)

The event fires when the state of the IrDA hardware is changed. To check real status an application should read the Available property.

Parameters
SenderThe object initiates the event.

As there can be more than one IrDA adapter connected to PC removing (or plugging) any of them will fire the event. An application must use Available property to check if the IrDA subsystem is available or not (if there is at least one IrDA adapter connected).