DPinst to install NdisProt driver sample in KMDF

Hi,

I have a problem when I tried to use DIFx DPinst.exe to install KMDF sample NdisProt, it does the pre-install, but it didn’t actually install the driver on the NIC card because it says no matching device is found.
My question is how can I use DPinst to install this NdisProt sample driver? What INF DriverPackageType should I use? ClassFilter or Network? I already created Catalog file, and turned on legacy mode. What files are missing in the driver package?

Any feedback is appreciated.

Thanks,
Charles

See the topic “Installing NDIS Drivers” at NDIS.com.

Good luck,

Thomas F. Divine

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:bounce-283991-
xxxxx@lists.osr.com] On Behalf Of xxxxx@yahoo.com
Sent: Thursday, April 19, 2007 2:54 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] DPinst to install NdisProt driver sample in KMDF

Hi,

I have a problem when I tried to use DIFx DPinst.exe to install KMDF
sample NdisProt, it does the pre-install, but it didn’t actually
install the driver on the NIC card because it says no matching device
is found.
My question is how can I use DPinst to install this NdisProt sample
driver? What INF DriverPackageType should I use? ClassFilter or
Network? I already created Catalog file, and turned on legacy mode.
What files are missing in the driver package?

Any feedback is appreciated.

Thanks,
Charles


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

I don’t think NDIS.com mentions DPinst and how to use DIFx to install NDIS drivers. Can somebody provide this information please?

Thanks,
Charles

What sort of NDIS driver are you installing?

If it is a PnP miniport, then DIFx will probably do the job.

If it is a legacy (non-PnP), then DIFx may “install” the driver to the extent that it appears in the Network Control Panel when you choose Install Protocol". But it will not actually perform the final steps of installing the protocol for you.

You need to use NDIS-specific APIs like the INetCfg API and tools like the BindView application (or the NDIS.com ProtInstall…) to actually perform the actual final steps of installation of these types of NDIS drivers.

IOW, BindView and ProtInstall will get the job done. DIFx won’t, AFAIK.

Good luck,

Thomas F. Divine

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:bounce-284072-
xxxxx@lists.osr.com] On Behalf Of xxxxx@yahoo.com
Sent: Thursday, April 19, 2007 1:35 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] DPinst to install NdisProt driver sample in KMDF

I don’t think NDIS.com mentions DPinst and how to use DIFx to install
NDIS drivers. Can somebody provide this information please?

Thanks,
Charles


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

Hi Thomas,

Thanks for the clarification. Mine is a NDIS Protocol driver based on KMDF sample NdisProt. I know BindView can do the job, but I got requirement to use DIFx instead of BindView. Does that mean DIFx cannot actually do the protocol install to the NIC?

I have never been successful in installing a NDIS protocol driver using DIFx.

Thomas F. Divine

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:bounce-284080-
xxxxx@lists.osr.com] On Behalf Of xxxxx@yahoo.com
Sent: Thursday, April 19, 2007 3:42 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] DPinst to install NdisProt driver sample in KMDF

Hi Thomas,

Thanks for the clarification. Mine is a NDIS Protocol driver based on
KMDF sample NdisProt. I know BindView can do the job, but I got
requirement to use DIFx instead of BindView. Does that mean DIFx cannot
actually do the protocol install to the NIC?


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

Can’t use DIFx for NDIS protocol or NDIS IM drivers.

Bryan S. Burgin
xxxxx@online.microsoft.com

This posting is provided “AS IS” with no warranties, and confers no rights.

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Thomas F. Divine
Sent: Thursday, April 19, 2007 12:55 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] DPinst to install NdisProt driver sample in KMDF

I have never been successful in installing a NDIS protocol driver using DIFx.

Thomas F. Divine

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:bounce-284080-
xxxxx@lists.osr.com] On Behalf Of xxxxx@yahoo.com
Sent: Thursday, April 19, 2007 3:42 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] DPinst to install NdisProt driver sample in KMDF

Hi Thomas,

Thanks for the clarification. Mine is a NDIS Protocol driver based on
KMDF sample NdisProt. I know BindView can do the job, but I got
requirement to use DIFx instead of BindView. Does that mean DIFx cannot
actually do the protocol install to the NIC?


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


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