I have a KMDF driver with two devices. I want the risft device to trigger the start of the second device based on an IOCTL. What are teh squence of steps to be followed for this and what all APIs need to be called.
TIA
Awbadhho
I have a KMDF driver with two devices. I want the risft device to trigger the start of the second device based on an IOCTL. What are teh squence of steps to be followed for this and what all APIs need to be called.
TIA
Awbadhho
Are these physical devices? If so, this is not under your control. The device enumeration order is determined by the bus driver.
What larger problem are you trying to solve here? If you want to prevent access to the second device by user-mode apps, you can do that internally. You can refuse IRP_MJ_CREATE calls until you are ready for them, for example.
@Tim_Roberts said:
Are these physical devices? If so, this is not under your control. The device enumeration order is determined by the bus driver.What larger problem are you trying to solve here? If you want to prevent access to the second device by user-mode apps, you can do that internally. You can refuse IRP_MJ_CREATE calls until you are ready for them, for example.
soory Tim, my bad, I should have clarified.
These are not physical devices, but softeare devices, each of these have a specific ‘silo’ of kernel logic, and depending on the user requirements the right silo is spawned.