MiniportInitialize never called

i’m actually developping a Miniport driver (NDIS) for a radio connected on
the serial port but when i install that driver everything seems to be fine
in the DriverEntry, the
NdisMRegisterMiniport return NDIS_STATUS_SUCCESS but the
MiniportInitialize is never called.

Is it possible that there is something wrong in my Inf file ?

Thanks for your help.

Is your miniport ‘root’ enumerated (like a virtual ethernet adapter would
be) or are you expecting to be enumerated by serenum as a serial attached
peripheral?

Is your DriverEntry being called because you do a NET START MYDRIVER (or
perhaps you have the start set to system or automatic) or because PnP/DevMgr
actually thinks it is trying to start a DevNode for your device?

The bottom line is that starting a driver and actually enumerating a DevNode
are different things. To get called at MiniportInitialize() NDIS needs to
be called by PnP to enumerate & start a device on some bus.

Your device either needs to be virtual and root enumerated with logic to
acquire & open the serial port or if you attached hardware supports Serial
PnP signalling (probably not!) it could be enumerated on the ‘serial’ bus
(serenum).

Good Luck,
Dave Cattley
Consulting Engineer
Systems Software Development

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Francky
Sent: Monday, October 02, 2006 1:06 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] MiniportInitialize never called

i’m actually developping a Miniport driver (NDIS) for a radio connected on
the serial port but when i install that driver everything seems to be fine
in the DriverEntry, the
NdisMRegisterMiniport return NDIS_STATUS_SUCCESS but the
MiniportInitialize is never called.

Is it possible that there is something wrong in my Inf file ?

Thanks for your help.


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer