I am programming in C++ for three years now, but I don't know Windows programming syntax.
It is two day's now how I am trying to find most adjustable C++ code. I was even trying to wrote it myself by studying some codes that might worked some other people. I am using Bloodshed Dev C++ program and compiler and I don't know whether that is important.
So I now that you can help me. So.. I need program that when I run it will just eject USB device that I just pluged in my computer. I don't need it for CD/DVD devices, I need it only for USB Removable Devices. And please I need it in C or C++ language. And is it possible to input name or letter of device and then eject it? Is it going to differend code if program will be for Windows XP and Windows Vista / 7?