None-the-less I have had exactly the same experience as BOTH of you. My
Scsiport drivers appears to have access to the registry, but another boot
start driver doesn’t. Start the same driver at system start and everything
works fine. I have no explanation, this is simply an observation. It also
matches exactly the report of the original poster.
Mark Roddy
Windows 2000/NT Consultant
Hollis Technology Solutions
www.hollistech.com
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of COX,DAVID
(HP-Roseville,ex1)
Sent: Wednesday, April 26, 2000 2:33 PM
To: NT Developers Interest List
Subject: [ntdev] RE: Problem reading Registry
Parts of the registry are not available at boot time. But we read
without problem from the System hive very early – in DeviceEntry()
of a SCSI port driver, starting in the SCSI miniport group, on NT4.
Dave Cox
Hewlett-Packard Co.
HPSO/SSMO (Santa Barbara)
https://ecardfile.com/id/Dave+Cox
-----Original Message-----
From: Mark Roddy [mailto:xxxxx@hollistech.com]
Sent: Wednesday, April 26, 2000 4:56 AM
To: NT Developers Interest List
Subject: [ntdev] RE: Problem reading Registry
Boot drivers have major restrictions, this is one of them. Don’t open the
registry in your driver entry routine. You aren’t *really* a boot driver, as
you aren’t required to boot the system. Wait for AddDevice or StartDevice to
access the registry. Ooops, we are talking W2K right?
Mark Roddy
Windows 2000/NT Consultant
Hollis Technology Solutions
www.hollistech.com
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com]On Behalf Of Martin Gossner
Sent: Wednesday, April 26, 2000 6:14 AM
To: NT Developers Interest List
Subject: [ntdev] Problem reading Registry
Hi,
I am developing a driver for PCMCIA card.
I have stored some information in the Registry and want to read it
on driver start.
On normal card insertion this works very fine but if I have a card
inserted on boot ZwOpenKey fails with Error 0xC0000034
STATUS_OBJECT_NAME_NOT_FOUND.
Maybe the registry is not present at this time?
Any idea how to avoid this problem?
Thanks
Martin
You are currently subscribed to ntdev as: xxxxx@wattanuck.mv.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)
You are currently subscribed to ntdev as: david_cox2@hp.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)
You are currently subscribed to ntdev as: xxxxx@wattanuck.mv.com
To unsubscribe send a blank email to $subst(‘Email.Unsub’)