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

Zac Brown zac at zacbrown.org
Mon Jun 2 20:18:41 CDT 2008


Change return value from STATUS_INVALID_PARAMETER to STATUS_ACCESS_VIOLATION 
when retkey is null in NtOpenKey.

Tested on Windows XP and Windows 2000.

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


More information about the wine-patches mailing list