1
0
mirror of https://github.com/winfsp/winfsp.git synced 2026-03-16 13:20:33 -05:00

sys: I/O completion functions

This commit is contained in:
Bill Zissimopoulos
2015-11-27 12:14:06 -08:00
parent f9d300c738
commit ee1663100a
18 changed files with 228 additions and 9 deletions

View File

@@ -9,10 +9,12 @@
static NTSTATUS FspFsvolRead(
PDEVICE_OBJECT DeviceObject, PIRP Irp, PIO_STACK_LOCATION IrpSp);
DRIVER_DISPATCH FspRead;
FSP_IOCOMPLETION_DISPATCH FspReadComplete;
#ifdef ALLOC_PRAGMA
#pragma alloc_text(PAGE, FspFsvolRead)
#pragma alloc_text(PAGE, FspRead)
#pragma alloc_text(PAGE, FspReadComplete)
#endif
static NTSTATUS FspFsvolRead(
@@ -40,3 +42,10 @@ FspRead(
FSP_LEAVE_MJ("", 0);
}
VOID FspReadComplete(PIRP Irp, FSP_FSCTL_TRANSACT_RSP *Response)
{
PAGED_CODE();
FspCompleteRequest(Irp, STATUS_SUCCESS);
}