ntdll: fix return values for NtQueryInformationThread ThreadDescriptorTableEntry

Eric Pouech eric.pouech at wanadoo.fr
Sun Oct 15 12:52:33 CDT 2006


Peter Oberndorfer wrote:

>this makes info segments in winedbg not spew out thousands of "fixme:ntdll:RtlNtStatusToDosErrorNoTeb no mapping for c0000119"
>
>Changelog:
>fix return values for NtQueryInformationThread ThreadDescriptorTableEntry
>  
>
the fix is wrong as STATUS_NO_LDT is the value returned on NT by 
NtQueryInformationThread
you have either to fix the mapping to ntstatus to win32 errors (if this 
one is supported on NT), or fix GetThreadSelectorEntry by hand (for the 
ntstatus to win32 error mapping)

A+



More information about the wine-patches mailing list