How to eject an USB Flash Drive
To avoid having to include copyrighted code I decided to describe in detail the method Uwe Sieber has discovered to Eject a drive.
Because the method of doing something is not protected by copyright, anyone following these steps and coming to a working solution will have their own copyright on the code thus produced.
-----------------------------------------------------------------------------
This document describes the method Uwe Sieber uses to perform a device eject
See also:
How to prepare an USB drive for save removal
By Uwe Sieber.
http://www.codeproject.com/useritems/RemoveDriveByLetter.asp