- Question about ZwCreateKey
- Posted by on October 24th, 2005
If I have the path \Registry\Machine\Software\a\b\c\d\e
My question, do I need to create a first, then b, then c, etc
or can I create them in one call?
- Posted by Pavel A. on October 24th, 2005
"kimi" wrote:
See RtlCreateRegistryKey
--
- Posted by on October 25th, 2005
Can you see what's wrong here,
pathWide= L"\\Registry\\Machine\\SOFTWARE\\aa\\bb\\cc\\dd ";
ntstatus= RtlCreateRegistryKey(RTL_REGISTRY_ABSOLUTE, pathWide);
it's failling with,
STATUS_OBJECT_NAME_NOT_FOUND ((NTSTATUS)0xC0000034L)?
- Posted by on October 25th, 2005
it can't be done pavel, r u trying to confuse???
- Posted by Norman Diamond on October 25th, 2005
<kimi> wrote in message news:OV2lR0P2FHA.892@TK2MSFTNGP12.phx.gbl...
Here's what he told you:
What do you think is confusing about that? Did you obey?
I looked at
http://msdn.microsoft.com/library/de...04135c.xml.asp
and MSDN's silence on this question is pretty clear. MSDN is trying to
confuse. You have to experiment to see if it can be done. And if you rely
on the results of your experiments, Microsoft will blame you for relying on
undocumented behaviour. So when you want to complain about who's trying to
confuse, put the blame where it belongs, OK?
- Posted by Pavel A. on October 26th, 2005
Sorry. I believed that RtlCreateRegistryKey with RTL_REGISTRY_OPTIONAL
will create the full path - but this is wrong.
And "Norman Diamond" is right.
The DDK documentation still leaves *a lot* to wish.
--PA
"Norman Diamond" wrote:
- Posted by juneb (MSFT) on October 28th, 2005
If a page of DDK documentation is wrong or incomplete, please let the DDK doc
team know about it. Scroll to the bottom of the DDK page and click the "Send
feedback on this topic" link. If the page doesn't have a "Send feedback on
this topic" link, please send an e-mail message to ddksurv1@microsoft.com.
The folks here at DDK docs are not *trying* to confuse you. But if we don't
know that you're having a problem, we can't help.
I'll file a bug on this issue and have the page updated. If you have
specific requests for this page, or any other, send mail to me or to ddksurv1.
Thanks,
June Blender (MSFT)
DDK\WDK Tool Docs
"Pavel A." wrote: