Removal Relation

Hi,

I have removal relation implemented in my driver. it works perfectly on w2k3, but it doesn’t work when i run the same driver on the longhorn server beta 2 for x86. Does anyone have the same experience?

Thanks,
JT

What’s not working? Are the device’s listed in the removal relation not being removed? Or are they being removed after your device? Are the devices being reported as part of the removal relations part of your pnp subtree?

d

The device listed in the removal relation doesn’t get removed. My driver creates a virtual device associated with some physical devices. Their relationship is not the same as the bus driver parent/child relationship. I use Removal relation to make the virtual device removal more graceful. The code is verified and works on w2k3. When a physical device is disabled in the device manager on w2k3, the Pnp manager first queries the removal relation then sends query remove to the virtual device listed in the removal relation and the physical device. But on the longhorn server beta 2, the pnp manager does query the removal relation but never sends the query remove to the virtual device my driver reported in the removal relation.

Thanks,
JT