1
0
mirror of https://github.com/winfsp/winfsp.git synced 2026-06-15 09:06:03 -05:00
This commit is contained in:
Bill Zissimopoulos
2015-11-29 15:40:34 -08:00
parent 97924ea65e
commit 7bd979a3fd
4 changed files with 17 additions and 8 deletions
+2 -4
View File
@@ -39,10 +39,8 @@ NTSTATUS DriverEntry(
&FspFsctlNetDeviceObject);
if (!NT_SUCCESS(Result))
FSP_RETURN(IoDeleteDevice(FspFsctlDiskDeviceObject));
FspDeviceExtension(FspFsctlDiskDeviceObject)->Kind = FspFsctlDeviceExtensionKind;
ExInitializeResourceLite(&FspDeviceExtension(FspFsctlDiskDeviceObject)->Resource);
FspDeviceExtension(FspFsctlNetDeviceObject)->Kind = FspFsctlDeviceExtensionKind;
ExInitializeResourceLite(&FspDeviceExtension(FspFsctlNetDeviceObject)->Resource);
FspDeviceInitExtension(FspFsctlDiskDeviceObject, FspFsctlDeviceExtensionKind);
FspDeviceInitExtension(FspFsctlNetDeviceObject, FspFsctlDeviceExtensionKind);
/* setup the driver object */
DriverObject->DriverUnload = FspUnload;