ntdll: Add NtCreateKey tests

James Hawkins truiken at gmail.com
Wed Mar 2 00:31:53 CST 2005


Hey,

Ignore the last patch I sent with the same name.  I've fixed wine so
the tests pass now.  If there are any problems, please let me know,
because I've really dug into this one.

I've been discerning the behavior of RegCreateKey and NtCreateKey when
creating a key directly under HKLM or HKU, and this test reveals that
NtCreateKey does check for this case and returns a
STATUS_INVALID_PARAMETER.  The first two items in the changelog allow
reg.c to compile with msvc on Server 2003.

Changelog
* Remove unusable include "wine/library.h"
* Copy InitializeObjectAttributes into test, because it is only
availabe in the MS DDK
* Add NtCreateKey tests

-- 
James Hawkins
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ntdll-regtests.diff
Type: text/x-patch
Size: 6036 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050302/f04d0d66/ntdll-regtests.bin


More information about the wine-patches mailing list