https://bugs.winehq.org/show_bug.cgi?id=31744
--- Comment #7 from Nikolay Sivov bunglehead@gmail.com --- This looks strange:
--- 002b:Call advapi32.RegGetValueW(80000002,01517e28 L"SOFTWARE\Microsoft\IdentityCRL",01517e68 L"TargetDir",0000ffff,0033ee78,0033ee7c,0033ee74) ret=015cc368 002b:Ret advapi32.RegGetValueW() retval=00000002 ret=015cc368 002b:Call advapi32.LsaNtStatusToWinError(00000002) ret=015cc37f 002b:fixme:ntdll:RtlNtStatusToDosErrorNoTeb no mapping for 00000002 002b:Ret advapi32.LsaNtStatusToWinError() retval=0000013d ret=015cc37f ---
RegGetValueW() already returns Win32 error, no need to map it. I'll try to add a mapping for 0x00000002 NTSTATUS anyway.