- Use the specified timeout when reading from a mailslot

svn path=/trunk/; revision=38248
This commit is contained in:
Stefan Ginsberg 2008-12-21 20:52:31 +00:00
parent 8270c55829
commit 4bd273ce6c

View file

@ -62,7 +62,7 @@ MsfsRead(PDEVICE_OBJECT DeviceObject,
UserRequest, UserRequest,
KernelMode, KernelMode,
FALSE, FALSE,
NULL); /* FIXME: handle timeout */ &Fcb->TimeOut);
if ((NT_SUCCESS(Status)) && (Fcb->MessageCount > 0)) if ((NT_SUCCESS(Status)) && (Fcb->MessageCount > 0))
{ {
/* copy current message into buffer */ /* copy current message into buffer */