The
PacketOpenAdapter() function in packet32.c reads the Windows Registry to see if
the required entries needed for the driver are there. If they are not found, it
calls PacketInstallDriver() which calls CreateService() to create the service on
the system. This will place the entries into the Registry. PacketOpenAdapter()
then uses various Service Control Manager function calls to start the driver.
This all works fine if the driver file is already in the correct directory.
If not, the PacketOpenAdapter() call will fail. Most drivers do not do this, but
this is a very cool feature of this driver.
Thank you,
David Barnish
-----Original Message-----
From: Roger Tragin [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 05, 2003 3:12 PM
To: '[EMAIL PROTECTED]'
Subject: [WinPcap-users] What kind of Windows driver is Winpcap?Hi,I have written NDIS Intermediate drivers before for W2K and it required INF files and had to be signed. However, Winpcap does not. Looks like the App dynamically loads it when needed. How is this so?--
Roger Tragin
