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
This is a discussion on how to add a new device and uninstall it in MFC? within the Windows Programming forums, part of the Platform Specific Boards category; Are there any API's or macros that allow us to add a new device or uninstall it through our program... ...
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.
I support http://www.ukip.org/ as the first necessary step to a free Europe.
There is the SetupDi API. It is pretty complex and requires the DDK.