Hi,Dev!
Thank you for response!
But if I give a AddDevice route to the driver , It will soon be unloaded!
Are the drivers createdevice in DriverEntry called legacy-driver ?
Can Pnp Driver create device in DriverEntry?
If can ,is there something special should be cared?
Thanks!
Not necessary. You can call IoCreateDevice in DriverEntry too. It all
depends upon your need.Dev
-----Original Message-----
From: f [mailto:xxxxx@eyou.com]
Sent: Friday, November 26, 2004 4:17 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Can DriverEntry call IoCreateDevice in a WDM driver?hi,
In a wdm driver–which have AddDevice route,IoCreateDevice can only be
called
in AddDevice route, isnt it?
3x
–http://www.eyou.com
–Îȶ¨¿É¿¿µÄµç×ÓÐÅÏä ÓïÒôÓʼþ ÒÆ¶¯ÊéÇ© ÈÕÀú·þÎñ ÍøÂç´æ´¢…ÒÚÓÊδ¾¡
–http://vip.eyou.com
–¿ì¿ìµÇ¼ÒÚÓÊVIPÐÅÏä ×¢²áÄúÖÐÒâµÄÓû§Ãû
–http://sms.eyou.com
–ÎÞÓǶþ¶þ×å¡¢×ãÇò´ó¸»ÎÌ…¾¡ÔÚÒÚÓʶÌÐÅ