Registry key read during boot time driver load

Hi,
Where in the registry should I create a key which can be read from
my driver during system boot? I would like to create a registry key using
Install Shield and read it from my driver during boot time. Right now I am
creating this key in HKLM\Software\MyDriver. But I am not able to read this
key from my driver at boot time. I don’t want to use the registry path
passed during DriverEntry since this registry entry is shared with some of
my other drivers too.

Can someone suggest a registry path that can be shared across drivers during
boot time?

Thanks & Regards,
S.Balaji

Disclaimer:
This document is intended for transmission to the named recipient only. If
you are not that person, you should note that legal rights reside in this
document and you are not authorized to access, read, disclose, copy, use or
otherwise deal with it and any such actions are prohibited and may be
unlawful. The views expressed in this document are not necessarily those of
HCL Technologies Ltd. Notice is hereby given that no representation,
contract or other binding obligation shall be created by this e-mail, which
must be interpreted accordingly. Any representations, contractual rights or
obligations shall be separately communicated in writing and signed in the
original by a duly authorized officer of the relevant company.


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

You cannot use the HKLM\Software\ registry path for boot time because these
set of registry values won’t be available to the kernel during boot time.

The best path would be HKLM\SYSTEM\CurrentControlSet\Services.

cheers
Seshu.


From: Balaji Swaminathan - CTD,
Chennai.[SMTP:xxxxx@ctd.hcltech.com]
Reply To: NT Developers Interest List
Sent: Thursday, December 06, 2001 3:24 PM
To: NT Developers Interest List
Subject: [ntdev] Registry key read during boot time driver load

Hi,
Where in the registry should I create a key which can be read from
my driver during system boot? I would like to create a registry key using
Install Shield and read it from my driver during boot time. Right now I am
creating this key in HKLM\Software\MyDriver. But I am not able to read
this
key from my driver at boot time. I don’t want to use the registry path
passed during DriverEntry since this registry entry is shared with some of
my other drivers too.

Can someone suggest a registry path that can be shared across drivers
during
boot time?

Thanks & Regards,
S.Balaji

Disclaimer:
This document is intended for transmission to the named recipient only.
If
you are not that person, you should note that legal rights reside in this
document and you are not authorized to access, read, disclose, copy, use
or
otherwise deal with it and any such actions are prohibited and may be
unlawful. The views expressed in this document are not necessarily those
of
HCL Technologies Ltd. Notice is hereby given that no representation,
contract or other binding obligation shall be created by this e-mail,
which
must be interpreted accordingly. Any representations, contractual rights
or
obligations shall be separately communicated in writing and signed in the
original by a duly authorized officer of the relevant company.


You are currently subscribed to ntdev as: xxxxx@bla.satyam.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

**************************************************************************
This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.
**************************************************************************


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Try the HKLM/System/CurrentControlSet/Services/MyDriver/Parameters. However
is yours is a WDM driver then you reference registry keys using the GUID for
your driver.

Gary G. Little
Broadband Storage, Inc.
xxxxx@broadstor.com
xxxxx@inland.net
(949) 7372731

-----Original Message-----
From: Balaji Swaminathan - CTD, Chennai. [mailto:xxxxx@ctd.hcltech.com]
Sent: Thursday, December 06, 2001 1:54 AM
To: NT Developers Interest List
Subject: [ntdev] Registry key read during boot time driver load

Hi,
Where in the registry should I create a key which can be read from
my driver during system boot? I would like to create a registry key using
Install Shield and read it from my driver during boot time. Right now I am
creating this key in HKLM\Software\MyDriver. But I am not able to read this
key from my driver at boot time. I don’t want to use the registry path
passed during DriverEntry since this registry entry is shared with some of
my other drivers too.

Can someone suggest a registry path that can be shared across drivers during
boot time?

Thanks & Regards,
S.Balaji

Disclaimer:
This document is intended for transmission to the named recipient only. If
you are not that person, you should note that legal rights reside in this
document and you are not authorized to access, read, disclose, copy, use or
otherwise deal with it and any such actions are prohibited and may be
unlawful. The views expressed in this document are not necessarily those of
HCL Technologies Ltd. Notice is hereby given that no representation,
contract or other binding obligation shall be created by this e-mail, which
must be interpreted accordingly. Any representations, contractual rights or
obligations shall be separately communicated in writing and signed in the
original by a duly authorized officer of the relevant company.


You are currently subscribed to ntdev as: xxxxx@broadstor.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

> Where in the registry should I create a key which can be read from

my driver during system boot? I would like to create a registry key using

HKLM\System\CurrentControlSet\Services\yourdriver\Parameters.
HKLM\Software is not accessible at boot.

Max


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com