OnPortRemoved Event

The OnPortRemoved event occurs when a serial port is removed from the system, provided EnableAutoDetectPorts property is set to TRUE.

void OnPortRemoved(
 BSTR Port 
);

Parameters

     Port
            A name of a removed serial port. 


See also

EnableAutoDetectPorts property