Re: SetupDiCallClassInstaller getting error 0xE000023B on DIF_REMO by WesThielke
WesThielke
Wed Feb 08 14:05:27 CST 2006
Eliyas,
I compared my code line for line with the devcon source code that I have,
and it matches except that I split the if (!SetupDiSetClassInstallParams() ||
!SetupDiCallClassInstaller() into two statements, so I could see the
individual results. Everything seems to be the same up through the
SetupDiCallClassInstaller() call. I added logging to the devcon source for
comparison.
Do you know what the return code 0xE000023B means (from GetLastError())?
Wes
"Eliyas Yakub [MSFT]" wrote:
> Can you try removing your device using devcon.exe on Server and see if that
> gives the same error?
>
> -Eliyas
>
> "WesThielke" <WesThielke@discussions.microsoft.com> wrote in message
> news:C7D8AD19-A6E1-4479-9E64-736FD5615C75@microsoft.com...
> > My code uninstalls an NDIS driver with
> > SetupDiCallClassInstaller(DIF_REMOVE,..), much as in the DDK example. On
> > Windows 2003 Server, I get an error 0xE000023B, and can't figure out what
> > this means. The nearest error I could find was STATUS_CONNECTION_ACTIVE
> > (0xC000023B), but that doesn't seem to make sense-- I tried disabling my
> > driver and still get the same error.
> > The same code works fine on Windows 2000 and XP.
> >
> > Anyone know what this error means or what might be causing it?
> >
>
>
>