Hi all,
I need to create a new key in the following path of the Registry:
\HKEY_CURRENT_USER\Software\MyNewKey
and I don’t know what is the correct path I have to put in the ObjectName
parameter of the InitializeObjectAttributes function.
Thanks in advance.
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
You might want to use RtlCreateRegistryKey instead as it avoids the entire
problem. See the DDK docs for details.
-----Original Message-----
From: xxxxx@camaileon.com [mailto:xxxxx@camaileon.com]
Sent: Monday, May 14, 2001 12:54 PM
To: NT Developers Interest List
Subject: [ntdev] writing in the Registry.
Hi all,
I need to create a new key in the following path of the Registry:
\HKEY_CURRENT_USER\Software\MyNewKey
and I don’t know what is the correct path I have to put in the ObjectName
parameter of the InitializeObjectAttributes function.
Thanks in advance.
You are currently subscribed to ntdev as: xxxxx@stratus.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
> I need to create a new key in the following path of the Registry:
\HKEY_CURRENT_USER\Software\MyNewKey
and I don’t know what is the correct path I have to put in the ObjectName
parameter of the InitializeObjectAttributes function.
How can you use the notion of the “current user” in the kernel-mode code?
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
Mmmm…
I prefere ZwCreateKey, because I can set one of their parameters to erase
the key in the reboot.
From: “Roddy, Mark”
> Subject: RE: writing in the Registry.
>
> You might want to use RtlCreateRegistryKey instead as it avoids the entire
> problem. See the DDK docs for details.
>
> -----Original Message-----
> From: xxxxx@camaileon.com [mailto:xxxxx@camaileon.com]
> Sent: Monday, May 14, 2001 12:54 PM
> To: NT Developers Interest List
> Subject: [ntdev] writing in the Registry.
>
>
> Hi all,
> I need to create a new key in the following path of the Registry:
> \HKEY_CURRENT_USER\Software\MyNewKey
> and I don’t know what is the correct path I have to put in the ObjectName
> parameter of the InitializeObjectAttributes function.
>
> Thanks in advance.
>
> —
> You are currently subscribed to ntdev as: xxxxx@stratus.com To
> unsubscribe send a blank email to xxxxx@lists.osr.com
>
> —
> You are currently subscribed to ntdev as: xxxxx@camaileon.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
> ----------------------------------------------------------
>
> Re: your command request
> > get ntdev 12179
>
> Your request produced the following results:
>
> * Message 12179 was sent.
—
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