Hi, Every body:
I’m developing a File system filter driver, and a Keyboard filter driver.
I hope the two drive can load under Windows Safe Mode.
How can I do this?
I have try CreateService with SERVICE_BOOT_START or SERVICE_SYSTEM_START as parameter. CreateService success, but fail after reboot.
If I use SERVICE_SYSTEM_START , when system reboot in normal mode, system fail when i try open the service with CreateFile.
If I use SERVICE_BOOT_START, when system reboot in safe mode, system fail when i try open the service with CreateFile.
Anybody have suggestion?
Thx advanced.
moris zhang.
Interesting. I have the opposite problem. I wish I could get my mouse
filter driver *not* to load in safe mode :-).
I think both of these types of devices are “critical system components”
and so I think that your drivers will load even in safe mode (I’m pretty
sure in the case of the keyboard filter, but I don’t know much about FS
drivers).
Try it and see what happens???
moris zhang wrote:
Hi, Every body:
I’m developing a File system filter driver, and a Keyboard filter driver.
I hope the two drive can load under Windows Safe Mode.
How can I do this?
I have try CreateService with SERVICE_BOOT_START or SERVICE_SYSTEM_START as parameter. CreateService success, but fail after reboot.
If I use SERVICE_SYSTEM_START , when system reboot in normal mode, system fail when i try open the service with CreateFile.
If I use SERVICE_BOOT_START, when system reboot in safe mode, system fail when i try open the service with CreateFile.
Anybody have suggestion?
Thx advanced.
moris zhang.
–
…/ray..
Please remove “.spamblock” from my email address if you need to contact
me outside the newsgroup.
On Wed, 2 Jun 2004 00:26:01 +0800, moris zhang wrote:
There is a subkey under HKLM\SYSTEM\CurrentControlSet, which lists the
drivers
etc. to be loaded in safe mode.
> Hi, Every body:
>
> I’m developing a File system filter driver, and a Keyboard filter driver.
>
> I hope the two drive can load under Windows Safe Mode.
>
> How can I do this?
>
> I have try CreateService with SERVICE_BOOT_START or SERVICE_SYSTEM_START
> as parameter. CreateService success, but fail after reboot.
>
> If I use SERVICE_SYSTEM_START , when system reboot in normal mode,
> system fail when i try open the service with CreateFile.
>
> If I use SERVICE_BOOT_START, when system reboot in safe mode, system
> fail when i try open the service with CreateFile.
>
> Anybody have suggestion?
>
> Thx advanced.
>
> moris zhang.
>
–
#include <disclaimer.h></disclaimer.h>