I used SetupDiCallClassInstaller
with DIF_REMOVE
as parameter to uninstall my modem. But when I tested my application in "Windows 7" "64-Bit" machine I got error 0xE0000235
, But I couldnt found a solution to solve this.
Some of the SO links which talks about this doesnt have a solution rather than creating a 64 bit exe, Which I dont want to.
My question here is is there any other API which do the same ( I want to un-install my modem )?