USB总线FDO调用 IoInvalidateDeviceRelations通知PNP有新的设备后子设备收到的IRP
2021-06-30
527
0
在USB FDO总线驱动中,创建了子设备PDO后,调用通知PNP管理器设备树发生了变化。这时系统会重新获取子设备关系树,然后对子设备进行信息收集,并启用。具体的过程如下:
->FDO:IRP_MN_QUERY_DEVICE_RELATIONS
PDO:IRP_MN_QUERY_ID
PDO:IRP_MN_QUERY_CAPABILITIES
PDO:IRP_MN_QUERY_INTERFACE
PDO:IRP_MN_QUERY_DEVICE_TEXT
PDO:IRP_MN_QUERY_DEVICE_TEXT
PDO:IRP_MN_QUERY_ID
PDO:IRP_MN_QUERY_ID
PDO:IRP_MN_QUERY_ID
PDO:IRP_MN_QUERY_ID
PDO:IRP_MN_QUERY_INTERFACE
PDO:IRP_MN_QUERY_BUS_INFORMATION
PDO:IRP_MN_QUERY_INTERFACE
PDO:IRP_MN_QUERY_RESOURCE_REQUIREMENTS
PDO:IRP_MN_QUERY_RESOURCES
PDO:IRP_MN_19
PDO:IRP_MN_QUERY_INTERFACE
PDO:IRP_MN_QUERY_INTERFACE
PDO:IRP_MN_QUERY_INTERFACE
PDO:IRP_MN_18
PDO:IRP_MN_QUERY_RESOURCE_REQUIREMENTS
PDO:IRP_MN_FILTER_RESOURCE_REQUIREMENTS
PDO:IRP_MN_START_DEVICE
PDO:IRP_MN_QUERY_INTERFACE
PDO:IRP_MN_QUERY_INTERFACE
PDO:IRP_MN_QUERY_CAPABILITIES
PDO:IRP_MN_QUERY_CAPABILITIES
PDO:IRP_MN_QUERY_PNP_DEVICE_STATE
PDO:IRP_MN_QUERY_DEVICE_RELATIONS
PDO:IRP_MN_QUERY_ID
PDO:IRP_MN_QUERY_INTERFACE
PDO:IRP_MN_QUERY_ID
PDO:IRP_MN_QUERY_INTERFACE
PDO:IRP_MN_QUERY_INTERFACE
PDO:IRP_MN_QUERY_INTERFACE
PDO:IRP_MN_QUERY_INTERFACE
PDO:IRP_MN_QUERY_INTERFACE
PDO:IRP_MN_QUERY_INTERFACE
PDO:IRP_MN_QUERY_ID
PDO:IRP_MN_QUERY_INTERFACE
PDO:IRP_MN_QUERY_ID
PDO:IRP_MN_QUERY_INTERFACE
PDO:IRP_MN_QUERY_INTERFACE
PDO:IRP_MN_QUERY_ID
PDO:IRP_MN_QUERY_INTERFACE
PDO:IRP_MN_QUERY_ID
PDO:IRP_MN_QUERY_INTERFACE
PDO:IRP_MN_QUERY_INTERFACE
PDO:IRP_MN_QUERY_INTERFACE
PDO:IRP_MN_QUERY_INTERFACE
PDO:IRP_MN_QUERY_ID
PDO:IRP_MN_QUERY_ID
PDO:IRP_MN_QUERY_DEVICE_RELATIONS
PDO:IRP_MN_QUERY_ID
PDO:IRP_MN_QUERY_INTERFACE
PDO:IRP_MN_QUERY_ID
PDO:IRP_MN_QUERY_INTERFACE
PDO:IRP_MN_QUERY_INTERFACE
PDO:IRP_MN_QUERY_INTERFACE
PDO:IRP_MN_QUERY_INTERFACE
PDO:IRP_MN_QUERY_INTERFACE
PDO:IRP_MN_QUERY_INTERFACE
PDO:IRP_MN_QUERY_INTERFACE
PDO:IRP_MN_QUERY_INTERFACE
通过设备管理器卸载设备
PDO:IRP_MN_QUERY_DEVICE_RELATIONS
PDO:IRP_MN_QUERY_REMOVE_DEVICE
PDO:IRP_MN_REMOVE_DEVICE
->FDO:IRP_MN_QUERY_DEVICE_RELATIONS
->FDO:IRP_MN_QUERY_REMOVE_DEVICE
PDO:IRP_MN_REMOVE_DEVICE
->FDO:IRP_MN_REMOVE_DEVICE
通过IoInvalidateDeviceRelations卸载子设备
->FDO:IRP_MN_QUERY_DEVICE_RELATIONS
PDO:IRP_MN_QUERY_DEVICE_RELATIONS
PDO:IRP_MN_QUERY_DEVICE_RELATIONS
PDO:IRP_MN_SURPRISE_REMOVAL
PDO:IRP_MN_REMOVE_DEVICE
HID人机交互QQ群:564808376
UAC音频QQ群:218581009
UVC相机QQ群:331552032
BOT&UASP大容量存储QQ群:258159197
STC-USB单片机QQ群:315457461
USB技术交流QQ群2:580684376
USB技术交流QQ群:952873936