Hi All
I have written a file system filter driver. I want to read some
registry value to initialize some parameter. My problem is when I am
setting it’s(FSFD) loading option SYSTEM, and trying to read registry
value from DriverEntry Function (while OS is loading). I am not able to
read it. Where as ones the operating system is fully loaded I am able to
read registry values.
Please tell me how/where should I read registry value when my FSFD is
loading. Or is there any way by which FSFD can get signal that OS is
loaded so on that signal I will try to read registry.
Regards
Raghwendra
*********************************************************
Disclaimer:
The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of MBT and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of MBT.
This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and MBT is not responsible for any loss or damage arising in any way from its use
status = ZwQueryValueKey(hKey, &usValueName, KeyValueFullInformation,pKeyValue, size, &size);
“Raghwendra Kshatriya” wrote in message news:xxxxx@ntfsd… Hi All
I have written a file system filter driver. I want to read some registry value to initialize some parameter. My problem is when I am setting it’s(FSFD) loading option SYSTEM, and trying to read registry value from DriverEntry Function (while OS is loading). I am not able to read it. Where as ones the operating system is fully loaded I am able to read registry values.
Please tell me how/where should I read registry value when my FSFD is loading. Or is there any way by which FSFD can get signal that OS is loaded so on that signal I will try to read registry.
Regards
Raghwendra
* Disclaimer: The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of MBT and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of MBT.
This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and MBT is not responsible for any loss or damage arising in any way from its use
----- Original Message -----
From: “Raghwendra Kshatriya” To: “Windows File Systems Devs Interest List” Sent: Tuesday, November 15, 2005 11:56 AM Subject: [ntfsd] Reading Registry from Driver Entry.
Hi All I have written a file system filter driver. I want to read some registry value to initialize some parameter. My problem is when I am setting it’s(FSFD) loading option SYSTEM, and trying to read registry value from DriverEntry Function (while OS is loading). I am not able to read it. Where as ones the operating system is fully loaded I am able to read registry values.
Please tell me how/where should I read registry value when my FSFD is loading. Or is there any way by which FSFD can get signal that OS is loaded so on that signal I will try to read registry.
Regards Raghwendra
* Disclaimer: The contents of this E-mail (including the contents of the enclosure(s) or attachment(s) if any) are privileged and confidential material of MBT and should not be disclosed to, used by or copied in any manner by anyone other than the intended addressee(s). In case you are not the desired addressee, you should delete this message and/or re-direct it to the sender. The views expressed in this E-mail message (including the enclosure(s) or attachment(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of MBT.
This e-mail message including attachment/(s), if any, is believed to be free of any virus. However, it is the responsibility of the recipient to ensure that it is virus free and MBT is not responsible for any loss or damage arising in any way from its use