From 6d0e51fb66c7d22b7edcebac15d6fda2cc085dd0 Mon Sep 17 00:00:00 2001 From: Pierre d'Herbemont Date: Thu, 8 Jun 2006 22:32:59 +0200 Subject: [PATCH] ntdll: Fix NtQueryInformationThread on non x86. --- dlls/ntdll/thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/ntdll/thread.c b/dlls/ntdll/thread.c index b2d0c551475..10cb72bad7f 100644 --- a/dlls/ntdll/thread.c +++ b/dlls/ntdll/thread.c @@ -1128,10 +1128,10 @@ NTSTATUS WINAPI NtQueryInformationThread( HANDLE handle, THREADINFOCLASS class, } SERVER_END_REQ; } + if (status == STATUS_SUCCESS && ret_len) *ret_len = sizeof(*tdi); #else status = STATUS_NOT_IMPLEMENTED; #endif - if (status == STATUS_SUCCESS && ret_len) *ret_len = sizeof(*tdi); return status; } case ThreadPriority: