You may want to start here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/devio/base/rsm_
architecture.asp
There is an EjectDiskFromSADrive API documented here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/devio/base/ejec
tdiskfromsadrive.asp
However I have not used these myself.
S.
> In my application, i want to flush all data to USB and eject it (like select
> Safe Remove from tray icon).
> Is it possible ? How to to that ?
> Thanks a lot