mirror of
https://github.com/red-prig/fpPS4.git
synced 2025-02-20 06:14:04 +00:00
fix result time
This commit is contained in:
parent
40971c73c1
commit
8e5887ce2a
@ -196,23 +196,35 @@ begin
|
||||
begin
|
||||
if (pTimeout<>nil) then
|
||||
begin
|
||||
pTimeout^:=timeout;
|
||||
pTimeout^:=0;
|
||||
end;
|
||||
Result:=ETIMEDOUT;
|
||||
Break;
|
||||
end;
|
||||
STATUS_ABANDONED:
|
||||
begin
|
||||
if (pTimeout<>nil) then
|
||||
begin
|
||||
pTimeout^:=timeout*100;
|
||||
end;
|
||||
Result:=EPERM;
|
||||
Break;
|
||||
end;
|
||||
STATUS_SUCCESS:
|
||||
begin
|
||||
if (pTimeout<>nil) then
|
||||
begin
|
||||
pTimeout^:=timeout*100;
|
||||
end;
|
||||
Result:=0;
|
||||
Break;
|
||||
end;
|
||||
else
|
||||
begin
|
||||
if (pTimeout<>nil) then
|
||||
begin
|
||||
pTimeout^:=timeout*100;
|
||||
end;
|
||||
Result:=EINVAL;
|
||||
Break;
|
||||
end;
|
||||
|
Loading…
x
Reference in New Issue
Block a user