- Interpret STATUS_TIMEOUT as error in PsLockProcess.

svn path=/trunk/; revision=13257
This commit is contained in:
Hartmut Birr 2005-01-24 22:58:54 +00:00
parent 93551abbd2
commit a7cbe13790

View file

@ -2792,7 +2792,7 @@ PsLockProcess(PEPROCESS Process, BOOL Timeout)
KernelMode, KernelMode,
FALSE, FALSE,
Delay); Delay);
if(!NT_SUCCESS(Status)) if(!NT_SUCCESS(Status) || STATUS_TIMEOUT)
{ {
#ifndef NDEBUG #ifndef NDEBUG
if(Status == STATUS_TIMEOUT) if(Status == STATUS_TIMEOUT)