Alternate for SetupDiCallClassInstaller

Hi All,

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 MSDN links like http://social.msdn.microsoft.com/Forums/zh/windowsgeneraldevelopmentissues/thread/7d731747-724d-4a65-9f12-c6af92fa888f this 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 )?

Are you trying to do an install or uninstall on a 64-bit system with a
32-bit application? If so you are doomed. Learn to live with a 64-bit
and 32-bit versions.

Don Burn
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr

xxxxx@gmail.com” wrote in message
news:xxxxx@ntdev:

> Hi All,
>
> 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 MSDN links like http://social.msdn.microsoft.com/Forums/zh/windowsgeneraldevelopmentissues/thread/7d731747-724d-4a65-9f12-c6af92fa888f this 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 )?