Re: driver reload from kernel mode by Doron
Doron
Mon Apr 18 02:48:29 CDT 2005
you can't. if you are enumerating PDOs, you can report them as missing and
then present again to cause a stack rebuild & restart....but if you are the
FDO for a stack, you can only report failure and then let user mode attempt
a restart. if you really need this, have a user mode service which attempts
the restart after the driver indicates to it to do so.
d
--
Please do not send e-mail directly to this alias. this alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.
"RickFarrington" <RickFarrington@discussions.microsoft.com> wrote in message
news:FDC3F4C6-7D53-4BF2-B992-A99B09B8E703@microsoft.com...
> Hello, does anyone know how to force a driver to reload from Kernel mode?
> I
> understand how to do it from user mode using
> 'SetupDiGet/SetDeviceInstallParams' to change the
> DI_FLAGSEX_PROPCHANGE_PENDING flag, but I need to do this from kernel
> mode.
> Any ideas?
> Thx,
> Rick