Fix return value of SwitchToThread.

svn path=/trunk/; revision=14336
This commit is contained in:
Filip Navara 2005-03-26 21:16:42 +00:00
parent b4e10fa87d
commit 5b1f9c5705

View file

@ -330,9 +330,9 @@ GetTeb(VOID)
BOOL STDCALL
SwitchToThread(VOID)
{
NTSTATUS errCode;
errCode = NtYieldExecution();
return TRUE;
NTSTATUS Status;
Status = NtYieldExecution();
return Status != STATUS_NO_YIELD_PERFORMED;
}