mirror of
https://github.com/winfsp/winfsp.git
synced 2025-04-24 01:13:04 -05:00
sys: FspDeviceDelete: fill out device extension with the value 0xBD when device is deleted
This commit is contained in:
parent
a230ecc87c
commit
d5bf527dac
@ -197,6 +197,11 @@ VOID FspDeviceDelete(PDEVICE_OBJECT DeviceObject)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if DBG
|
||||||
|
RtlFillMemory(&DeviceExtension->Kind,
|
||||||
|
(PUINT8)DeviceObject + DeviceObject->Size - (PUINT8)&DeviceExtension->Kind, 0xBD);
|
||||||
|
#endif
|
||||||
|
|
||||||
IoDeleteDevice(DeviceObject);
|
IoDeleteDevice(DeviceObject);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user