in reply to Safely Remove Hardware on Win32

Step 1: You visit http://msdn.microsoft.com/ ... and learn the API
Step 2: use Win32::API and translate what you learned into perl.

Any questions?

update: gobble gobble google Is there a way to "Safely Remove Hardware" from a batch file?

MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
** The third rule of perl club is a statement of fact: pod is sexy.

Replies are listed 'Best First'.
Re^2: Safely Remove Hardware on Win32
by slloyd (Hermit) on Feb 18, 2005 at 13:36 UTC
    Thank you for your replies. I use Win32::API all the time but I have been unable to figure out what API does such a trick. I could use devcon but since it does not come with the OS natively, I was hoping that someone may already know what API to call. I guess I will keep looking.. Thanks again.