ntdll: Add NtCreateKey tests

James Hawkins truiken at gmail.com
Tue Mar 1 12:38:50 CST 2005


I've been discerning the behavior of RegCreateKey and NtCreateKey when
creating a key directly under HKLM or HKCU, and this test reveals that
NtCreateKey does check for this case and returns a
STATUS_INVALID_PARAMETER.  I wasn't sure, because I put the check in
the server and I was getting weird run-time errors.

* 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: 4604 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050301/58a3085a/ntdll-regtests.bin

More information about the wine-patches mailing list