摘要:
IoAttachDevice调用了IoAttachDeviceToDeviceStackSafe,IoAttachDevice调用了IoAttachDeviceToDeviceStackIoAttachDeviceToDeviceStack调用了IopAttachDeviceToDeviceStackSafeIoAttachDeviceToDeviceStackSafe调用了IopAttachDeviceToDeviceStackSafeIopAttachDeviceToDeviceStackSafe的代码为:PDEVICE_OBJECTIopAttachDeviceToDeviceStack 阅读全文
摘要:
IoCallDriver是一个宏:#define IoCallDriver(a,b) \ IofCallDriver(a,b)显然用的是IofCallDriver();IofCallDriver()代码如下:NTSTATUSFASTCALLIofCallDriver( IN PDEVICE_OBJECT DeviceObject, IN OUT PIRP Irp ){ if (pIofCallDriver != NULL) { // // This routine will either jump immediately t... 阅读全文