ntdll: reg.c: Fix return value of NtOpenKey when key handle is NULL

Zac Brown zac at zacbrown.org
Tue Jun 17 09:57:56 CDT 2008


Change return value from STATUS_INVALID_PARAMETER to STATUS_ACCESS_VIOLATION 
when retkey is null in NtOpenKey and remove todo_wine from test.

Tested on Windows XP, Windows 2000 and Windows 2003.

-Zac Brown
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Fix-return-value-regc.patch
Type: text/x-patch
Size: 1239 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080617/63e13742/attachment.bin 


More information about the wine-patches mailing list