1
0
mirror of https://github.com/winfsp/winfsp.git synced 2025-12-25 13:32:08 -06:00
This commit is contained in:
Bill Zissimopoulos
2015-11-19 13:13:29 -08:00
parent 1a07196686
commit 7c372f9eab
17 changed files with 112 additions and 8 deletions

View File

@@ -19,6 +19,17 @@ FspClose(
{
FSP_ENTER(PAGED_CODE());
ASSERT(IRP_MJ_CLOSE == IoGetCurrentIrpStackLocation(Irp)->MajorFunction);
if (FspFileSystemDeviceExtensionKind == FspDeviceExtension(DeviceObject)->Kind)
{
Result = STATUS_SUCCESS;
Irp->IoStatus.Status = Result;
Irp->IoStatus.Information = 0;
IoCompleteRequest(Irp, FSP_IO_INCREMENT);
FSP_RETURN();
}
Irp->IoStatus.Status = STATUS_INVALID_DEVICE_REQUEST;
IoCompleteRequest(Irp, IO_NO_INCREMENT);
Result = STATUS_INVALID_DEVICE_REQUEST;