https://bugs.winehq.org/show_bug.cgi?id=48138 --- Comment #4 from Dmitry Timoshkov <dmitry(a)baikal.ru> --- (In reply to David Torok from comment #3)
Created attachment 65743 [details] Patch for 9.23
Hello guys.
Please test. Should be good ;)
@@ -1430,6 +1430,11 @@ NTSTATUS WINAPI NtQueryInformationThread( HANDLE handle, THREADINFOCLASS class, *(BOOL*)data = FALSE; if (ret_len) *ret_len = sizeof(BOOL); return STATUS_SUCCESS; + case ThreadHideFromDebugger: + if (length != sizeof(char)) return STATUS_INFO_LENGTH_MISMATCH; + *(char*)data = "\x01"; + if (ret_len) *ret_len = sizeof(char); + return STATUS_SUCCESS; Probably this should look like (BOOLEAN instead of char and strange "\x01"): case ThreadHideFromDebugger: if (length != sizeof(BOOLEAN)) return STATUS_INFO_LENGTH_MISMATCH; *(BOOLEAN *)data = TRUE; if (ret_len) *ret_len = sizeof(BOOLEAN); return STATUS_SUCCESS; I suppose it's a workaround for NtSetInformationThread(ThreadHideFromDebugger) that doesn't save the requested state for the specified thread/ -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.