Jump to content
Sign in to follow this  

USB Device Removal Request Alert

Recommended Posts

Hi fellow autoiteers, I am trying to build an app that copies the data from a USB device to a desired folder of HDD in the computer.

But the problem is that when i try to remove the USB stick via "Safely remove hardware"while it is copying , it states that drive cannot be removed a program is accessing it.I want to stop the copying when there is any request for removal.Is there any solution for this. I've already tried $WM_DEVICECHANGE but it is of no use to me. :mellow:

HELP !!! HELP !!!!!!!!!!!!!!!!!

[size="5"]"No Pain, No Gain"[/size]

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...