Re: Eject a Removable USB drive

2009-03-10 Thread Mark Hammond
ython.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 one small kink. After the code runs my drive still shows up on

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 Aaron Brady
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 one small kink. > > > After the code runs my drive still shows up on Windows Explorer but as a > > removable

Re: Eject a Removable USB drive

2009-03-09 Thread Mark Hammond
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 one small kink. After the code runs my drive still shows up on Windows Explorer but as a removable drive. If I try to double click on it, it tells me to inse

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

Re: Eject a Removable USB drive

2009-03-09 Thread MRAB
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 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

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