Are there any API's or macros that allow us to add a new device or uninstall it through our program... in MFC? if not.. then how does the ADD/Remove harware wizard in control panel work? Thks
Are there any API's or macros that allow us to add a new device or uninstall it through our program... in MFC? if not.. then how does the ADD/Remove harware wizard in control panel work? Thks
Moved - this is windows specific.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
There is the SetupDi API. It is pretty complex and requires the DDK.