Question/comment regarding lifecycle handlers:
From what I can tell, when you reinstall a driver, this lifecycle event is first generated from the existing driver, then there is a 10 second delay, and then the new driver is actually installed. I could use this event to assume there is a new driver about to be installed, and in my case, take the device offline. However I don’t think I can assume this is the only case where this lifecyle event might be called.
Can someone share some other examples of when infoChanged gets generated, and what data is likely to have been changed?
Documentation is a little fuzzy on this: only deleted is listed as a lifecycle event handler, but there is also a referenced to removed below that:
removedwill remove the device from the device cache and make the device inoperable.