I have a highest-level driver (not FSD) that I may need
to load early (Start == 1) instead of on demand.
The hive \Registry\Machine\Software is apparently not available
at that time. Is there a recommended way to determine when this
hive is available other than to try to read it until success?
Currently I’m just using a timer which is imprecise.
Also, wouldn’t this be better handled by the Reinitialize
(recalling until success) procedure?
Thanks.
Bob Loewer
Can you control if the information is placed elsewhere in the registry?
If you can, put it under hklm.…\services<yourservice>\Parameters.
That is guaranteed to be loaded when your driver is loaded.
D
This posting is provided “AS IS” with no warranties, and confers no
rights
-----Original Message-----
From: Bob Loewer [mailto:xxxxx@jamesbimen.com]
Sent: Monday, February 03, 2003 11:10 AM
To: NT Developers Interest List
Subject: [ntdev] Software hive access at Start = 1
I have a highest-level driver (not FSD) that I may need
to load early (Start == 1) instead of on demand.
The hive \Registry\Machine\Software is apparently not available
at that time. Is there a recommended way to determine when this
hive is available other than to try to read it until success?
Currently I’m just using a timer which is imprecise.
Also, wouldn’t this be better handled by the Reinitialize
(recalling until success) procedure?
Thanks.
Bob Loewer
—
You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
Thanks D, but I should have been more specific.
I want to access SOFTWARE in the registry to get the boot drive.
Perhaps there is another way to do this?
–Bob
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Doron Holan
Sent: Monday, February 03, 2003 2:29 PM
To: NT Developers Interest List
Subject: [ntdev] RE: Software hive access at Start = 1
Can you control if the information is placed elsewhere in the registry?
If you can, put it under hklm.…\services<yourservice>\Parameters.
That is guaranteed to be loaded when your driver is loaded.
D
This posting is provided “AS IS” with no warranties, and confers no
rights
-----Original Message-----
From: Bob Loewer [mailto:xxxxx@jamesbimen.com]
Sent: Monday, February 03, 2003 11:10 AM
To: NT Developers Interest List
Subject: [ntdev] Software hive access at Start = 1
I have a highest-level driver (not FSD) that I may need
to load early (Start == 1) instead of on demand.
The hive \Registry\Machine\Software is apparently not available
at that time. Is there a recommended way to determine when this
hive is available other than to try to read it until success?
Currently I’m just using a timer which is imprecise.
Also, wouldn’t this be better handled by the Reinitialize
(recalling until success) procedure?
Thanks.
Bob Loewer
—
You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
—
You are currently subscribed to ntdev as: xxxxx@jamesbimen.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
It is much better to keep all your data in System hive.
----- Original Message -----
From: “Bob Loewer”
To: “NT Developers Interest List”
Sent: Monday, February 03, 2003 10:10 PM
Subject: [ntdev] Software hive access at Start = 1
>
> I have a highest-level driver (not FSD) that I may need
> to load early (Start == 1) instead of on demand.
>
> The hive \Registry\Machine\Software is apparently not available
> at that time. Is there a recommended way to determine when this
> hive is available other than to try to read it until success?
>
> Currently I’m just using a timer which is imprecise.
> Also, wouldn’t this be better handled by the Reinitialize
> (recalling until success) procedure?
>
> Thanks.
>
> Bob Loewer
>
>
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
The solution is in the name passed into DriverEntry. If you strip off the
parts you don’t need, you will know the SystemRoot value. You can establish
this by using %SystemRoot% in the .INF file and install program.
----- Original Message -----
From: “Bob Loewer”
To: “NT Developers Interest List”
Sent: Monday, February 03, 2003 2:41 PM
Subject: [ntdev] RE: Software hive access at Start = 1
> Thanks D, but I should have been more specific.
>
> I want to access SOFTWARE in the registry to get the boot drive.
> Perhaps there is another way to do this?
>
> --Bob
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of Doron Holan
> Sent: Monday, February 03, 2003 2:29 PM
> To: NT Developers Interest List
> Subject: [ntdev] RE: Software hive access at Start = 1
>
> Can you control if the information is placed elsewhere in the registry?
> If you can, put it under hklm.…\services<yourservice>\Parameters.
> That is guaranteed to be loaded when your driver is loaded.
>
> D
>
> This posting is provided “AS IS” with no warranties, and confers no
> rights
>
> -----Original Message-----
> From: Bob Loewer [mailto:xxxxx@jamesbimen.com]
> Sent: Monday, February 03, 2003 11:10 AM
> To: NT Developers Interest List
> Subject: [ntdev] Software hive access at Start = 1
>
>
> I have a highest-level driver (not FSD) that I may need
> to load early (Start == 1) instead of on demand.
>
> The hive \Registry\Machine\Software is apparently not available
> at that time. Is there a recommended way to determine when this
> hive is available other than to try to read it until success?
>
> Currently I’m just using a timer which is imprecise.
> Also, wouldn’t this be better handled by the Reinitialize
> (recalling until success) procedure?
>
> Thanks.
>
> Bob Loewer
>
>
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@jamesbimen.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@yoshimuni.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>