mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-23 17:03:12 -05:00
sys: WIP
This commit is contained in:
parent
7bacee130d
commit
b4f64c3378
@ -132,16 +132,9 @@ VOID FspUnload(
|
||||
{
|
||||
FSP_ENTER_VOID(PAGED_CODE());
|
||||
|
||||
if (0 != FspFsctlDiskDeviceObject)
|
||||
{
|
||||
IoDeleteDevice(FspFsctlDiskDeviceObject);
|
||||
FspFsctlDiskDeviceObject = 0;
|
||||
}
|
||||
if (0 != FspFsctlNetDeviceObject)
|
||||
{
|
||||
IoDeleteDevice(FspFsctlNetDeviceObject);
|
||||
FspFsctlNetDeviceObject = 0;
|
||||
}
|
||||
FspFsctlDiskDeviceObject = 0;
|
||||
FspFsctlNetDeviceObject = 0;
|
||||
FspDeviceDeleteObjects(DriverObject);
|
||||
|
||||
#pragma prefast(suppress:28175, "We are in DriverUnload: ok to access DriverName")
|
||||
FSP_LEAVE_VOID("DriverName=\"%wZ\"",
|
||||
|
Loading…
x
Reference in New Issue
Block a user