About automatic bus enumeration

Hi, everyone

i’m writing a virtual bus and virtual device, and the virtual device should be enumerated by the virtual bus, how can let the virtual bus enumerate the virtual device automatically, i mean, no user level action.

i known MS DDK sample ‘toaster’ is a virtual bus and it can can create a virtual device PDO and load virtual device’s driver. but it need user interaction by sending a IoCtrl IRP to the bus driver from an application, and is not desirable for me.

I have searched the list server and found a few people have asked the question, but i don’t think the answers satisfy me. so i hope someone can give me a detailed answer.

thanks for your attention

WeiYu, Dong


¸Ï¿ì×¢²áÑÅ»¢³¬´óÈÝÁ¿Ãâ·ÑÓÊÏä?
http://cn.mail.yahoo.com