How can I detect a network cable being unplugged from within my c++ application similar to the notification that microsoft provides at the bottom right hand corner of the desktop?