RE: Eject a Removable USB drive

2009-03-10 Thread Rickey, Kyle W
, 2009 6:15 PM To: python-list@python.org Subject: Re: Eject a Removable USB drive On Mar 9, 6:08 pm, Mark Hammond wrote: > On 10/03/2009 8:20 AM, Rickey, Kyle W wrote: > > > Thanks for the link! That code has got me on the right track. I've > > almost got it working with on

RE: Eject a Removable USB drive

2009-03-09 Thread Rickey, Kyle W
Behalf Of MRAB Sent: Monday, March 09, 2009 2:10 PM To: python-list@python.org Subject: Re: Eject a Removable USB drive Rickey, Kyle W wrote: > Hello everyone, > > > > I would like to be able to eject a usb drive based on drive letter. I've > done a bit of googling and c

Eject a Removable USB drive

2009-03-09 Thread Rickey, Kyle W
Hello everyone, I would like to be able to eject a usb drive based on drive letter. I've done a bit of googling and came across the CM_Request_Device_Eject function on MSDN (http://msdn.microsoft.com/en-us/library/ms790831.aspx) However, I am not quite sure how to supply the necessary param