hi, Is there any event which is triggered when 'safely remove hardware' is clicked, which I can capture in my VB application? When this happens, I need to take care of somethings in my application. Any idea?
More aboutsafely remove hardware
What? All the safely removing thing does is stop Windows from accessing the drive and then removes it from the master drive list so other programs won't access it while it is being removed.
No, it also syncs the write-back; and flushes any dirty buffers to the device; then synchronises; then disconnects the device.