Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2007 Nov : programmatically stop USB flash drive

www.cryer.info
Managed Newsgroup Archive

programmatically stop USB flash drive

Subject:programmatically stop USB flash drive
Posted by:"Craig" (cra..@radicalage.com)
Date:Thu, 1 Nov 2007 08:25:45

Hello,

I've written an application that updates itself when the appropriate USB
flash drive is installed in the system, what I can't figure out is how to
"Safely Remove Hardware" from code and allow the user to just pull the drive
when the update process is complete.

Any thoughts or ideas on how to programmatically stop the USB drive are
greatly appreciated.

Thanks in advance,
Craig

Replies:

www.cryer.info
Managed Newsgroup Archive