mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-23 17:03:12 -05:00
sys: ioq
This commit is contained in:
parent
76a2eb7ca0
commit
be204b4118
@ -182,6 +182,8 @@ BOOLEAN FspIoqPostIrp(FSP_IOQ *Ioq, PIRP Irp)
|
||||
}
|
||||
|
||||
PIRP FspIoqNextPendingIrp(FSP_IOQ *Ioq, ULONG millis)
|
||||
{
|
||||
if (0 != millis)
|
||||
{
|
||||
NTSTATUS Result;
|
||||
LARGE_INTEGER Timeout;
|
||||
@ -190,6 +192,7 @@ PIRP FspIoqNextPendingIrp(FSP_IOQ *Ioq, ULONG millis)
|
||||
-1 == millis ? 0 : &Timeout);
|
||||
if (!NT_SUCCESS(Result))
|
||||
return 0;
|
||||
}
|
||||
return IoCsqRemoveNextIrp(&Ioq->PendingIoCsq, (PVOID)1);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user