Which signal generate when some serial usb (hot plugged) is ejected.

When any hot plugged device like serial usb cable or usb pendrive eject from PC, which signal it will generate...if any one know pls help., so that i can write any action code in respective signal handler...