https://bugs.winehq.org/show_bug.cgi?id=54820
Bug ID: 54820 Summary: RtlFindMessage doesn't work Product: Wine Version: 8.5 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: ntdll Assignee: wine-bugs@winehq.org Reporter: novae.harpist06@icloud.com Distribution: ---
Created attachment 74320 --> https://bugs.winehq.org/attachment.cgi?id=74320 Reproducer
Only returns STATUS_RESOURCE_TYPE_NOT_FOUND.
Reproducer attached
On windows:
ntdll at 00007FF870AF0000 RtlFindMessage returned 00000000 Message: Object Name not found.
On wine:
ntdll at 0000000170000000 RtlFindMessage returned C000008A
https://bugs.winehq.org/show_bug.cgi?id=54820
novae.harpist06@icloud.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source, testcase
https://bugs.winehq.org/show_bug.cgi?id=54820
--- Comment #1 from Alexandre Julliard julliard@winehq.org --- RtlFindMessage works fine, but there's no message table in our ntdll. You can try it on kernelbase.dll.
https://bugs.winehq.org/show_bug.cgi?id=54820
--- Comment #2 from novae.harpist06@icloud.com --- Indeed, that works. Unfortunately that doesn't help much in resolving NTSTATUS to readable errors, as kernelbase contains messages for Win32 errors (and some HRESULTs, apparently)
https://bugs.winehq.org/show_bug.cgi?id=54820
novae.harpist06@icloud.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|RtlFindMessage doesn't work |ntdll does not have | |RT_MESSAGETABLE for | |NTSTATUS codes