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

@ -12,12 +12,16 @@ static NTSTATUS FspFsvolSetSecurity(
PDEVICE_OBJECT DeviceObject, PIRP Irp, PIO_STACK_LOCATION IrpSp);
DRIVER_DISPATCH FspQuerySecurity;
DRIVER_DISPATCH FspSetSecurity;
FSP_IOCOMPLETION_DISPATCH FspQuerySecurityComplete;
FSP_IOCOMPLETION_DISPATCH FspSetSecurityComplete;
#ifdef ALLOC_PRAGMA
#pragma alloc_text(PAGE, FspFsvolQuerySecurity)
#pragma alloc_text(PAGE, FspFsvolSetSecurity)
#pragma alloc_text(PAGE, FspQuerySecurity)
#pragma alloc_text(PAGE, FspSetSecurity)
#pragma alloc_text(PAGE, FspQuerySecurityComplete)
#pragma alloc_text(PAGE, FspSetSecurityComplete)
#endif
static NTSTATUS FspFsvolQuerySecurity(
@ -71,3 +75,17 @@ FspSetSecurity(
FSP_LEAVE_MJ("", 0);
}
VOID FspQuerySecurityComplete(PIRP Irp, FSP_FSCTL_TRANSACT_RSP *Response)
{
PAGED_CODE();
FspCompleteRequest(Irp, STATUS_SUCCESS);
}
VOID FspSetSecurityComplete(PIRP Irp, FSP_FSCTL_TRANSACT_RSP *Response)
{
PAGED_CODE();
FspCompleteRequest(Irp, STATUS_SUCCESS);
}