after breaking my head trying to make EjectDiskFromSADrive() work i finally decided to ask here.
i need to "safely remove" or eject USB devices from a computer by code. the operating system is Win XP or newer.
the msdn page for EjectDiskFromSADrive()
http://windowssdk.msdn.microsoft.com/en-us/library/ms724499.aspxbut so far i couldn't manage to even compile any code.
code sample will be greatly appreciated.
uri
Start Free Trial