USB - safely remove hardware

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?

regards.
3 answers Last reply
More about safely remove hardware
  1. 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.
  2. No, it also syncs the write-back; and flushes any dirty buffers to the device; then synchronises; then disconnects the device.
  3. k.. thanks
Ask a new question

Read More

Hardware USB Storage