RE: Structure for reading REG_BINARY with RtlQueryRegistr- yValues

That’s really the hard way. If you know the key, and you are trying to read
multiple binary values in the key, it’s less complex to loop over your
domain with ZwEnumerateValueKey, or even ZwQueryValueKey, if you already
know what the names are.

Phil

-----Original Message-----
From: xxxxx@intel.com
[mailto:xxxxx@intel.com]
Sent: Friday, May 04, 2001 5:53 AM
To: NT Developers Interest List
Subject: [ntdev] Structure for reading REG_BINARY with
RtlQueryRegistryValues

I was wondering if anyone knows how to read a registry value of type
REG_BINARY from within a driver using RtlQueryRegistryValues? I can get it
to work, but it returns some type of structure that appears to be:
struct{
ULONG Length;
ULONG Type;
UCHAR Buffer[1];
}
Does anyone know what the correct structure is?
Thanks,
Chris


You are currently subscribed to ntdev as: xxxxx@intel.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