Querying Registry entries

Hi,
I want to query a registry key say from \HKEY_LOCAL_MACHINE\SOFTWARE\xxx
from my 2K driver.

First I tried giving my Registry path as “\HKLM\SOFTWARE\xxx”
RtlQueryRegistryValues returned with STATUS_OBJECT_NAME_NOT_FOUND error.

Then I tried with \Registry\Machine\Software\xxx, but Im getting page
fault error in RtlQueryRegistryValues.

I need info about querying the registry path other then the RegistryPath got
from DriverEntry routine.

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

> Then I tried with \Registry\Machine\Software\xxx, but Im getting page

fault error in RtlQueryRegistryValues.

This is a correct path - you have some other bug.

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