ntdll: Add NtCreateKey tests

Alexandre Julliard julliard at winehq.org
Thu Mar 3 16:56:47 CST 2005


James Hawkins <truiken at gmail.com> writes:

> What are the steps I need to take to break registry initialisation?  I
> did wonder how anything in the real win32 registry could be created
> though if you can't create a key directly under HKLM or HKU.  If this
> really does break initialisation, can we implement a different
> create_key that has little restrictions and would only be used
> internally, or would this just be scrapped entirely?

I don't think there's any point in replicating that behavior. I doubt
there's any such check on Windows either, it's most likely just a side
effect of the way the registry files are "mounted" at different places
in the tree. Once we have a proper implementation of
RegLoadKey/RegUnloadKey we should get the same behavior automatically.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list