On 2020-09-22 22:55, Shlomi Fish wrote:
Hi Todd!

On Tue, 22 Sep 2020 20:33:47 -0700
ToddAndMargo via perl6-users <perl6-us...@perl.org> wrote:

Hi All,

Anyone write any code to eject a flash drive in Windows?


A duckduckgo search led me to this page:

https://stackoverflow.com/questions/85649/safely-remove-a-usb-drive-using-the-win32-api

Hope that helps!

Many thanks,
-T

Hi Shlomi,

Yes that does help!

My duck duck search came up with

https://stackoverflow.com/questions/3918248/how-to-eject-a-usb-removable-disk-volume-similar-to-the-eject-function-in-win

and

https://stackoverflow.com/questions/3989844/eject-memory-card-from-card-reader-c-sharp/29135645#29135645

which made my head spin.

Thank you!

-T

Reply via email to