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