Hello,
We are writing a cam minidriver and attempting to read settings from the
registry when the device is initialized. At what point is it safe to do so?
Currently, we attempt to read the setting when the minidriver
receives SRB_INITIALIZATION_COMPLETE. It appears that when Windows 2000 is
starting up, this SRB is sent before the Windows services are loaded and
hence the registry reads fail. Reading the registry in this manner works
fine if windows is already booted and then a device is plugged in. Is there
some other message or callback routine we should be using?
Thanks,
Matt
|