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()
but so far i couldn't manage to even compile any code.
code sample will be greatly appreciated.