-
-
[旧帖]
IoDetachDevice 怎么用啊?
0.00雪花
-
发表于:
2010-4-23 22:34
5624
-
[旧帖] IoDetachDevice 怎么用啊?
0.00雪花
PDEVICE_OBJECT IoAttachDeviceToDeviceStack(
IN PDEVICE_OBJECT SourceDevice,
IN PDEVICE_OBJECT TargetDevice
);
VOID IoDetachDevice( IN OUT PDEVICE_OBJECT TargetDevice );
LowerDevice = IoAttachDeviceToDeviceStack(SourceDevice,TargetDevice);
IoDetachDevice( ????);
我在DriverUnload里面解除设备绑定时老是蓝屏。我怀疑是不是我对这IoDetachDevice()
理解有错. IoDetachDevice(Parameters) 到底填那个值啊?
SourceDevice ? TargetDevice ? 还是LowerDevice ?
[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课