Is it possible to update a NDIS protocol driver programmatically?



Hi All,

Is it possible to update a NDIS protocol programmatically?

There is a NDISPROT based driver that is used by an application to
send/receive RAW Ethernet packets.
The driver has been changed a bit and need to be updated with the recent
version when a user installs the updated package.

I use snetcfg.exe to install|uninstall the NDIS protocol driver, but it
implements no 'update' functionality.
Ever more INetCfgClassSetup class export only Install and Uninstall
functions.

When a copy of the driver is installed, snetcfg.exe seems to be unable to
update the binary.
It does not matter whether the drive is started or stopped.

The work around that I found is to stop and uninstall the old driver and
then install the new one.
But this way does not work when the old driver is used by the application.

So the question is how to update the driver's binary file without
uninstalling the old instance?
Is it possible?

Best regards,
Valeriy Glushkov


.



Relevant Pages

  • RE: Failure to run setup.exe files from CD-roms
    ... uninstall the driver ... not Add/Remove programs that different and uninstall your DVD from there ... I am able to install other software from the drives. ... "nass" wrote: ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Sound card issues...
    ... XP will almost immediately re-detect and install them. ... WDM Audio Compatibility Driver". ... Should I uninstall these ones and reboot? ... check for your base sound card shown ...
    (microsoft.public.windowsxp.general)
  • Lost wireless keyboard + mouse
    ... Yesterday after doing an uninstall of iTunes browser I lost my HP ... If I tell it to install it ... doesn't find a driver and fails. ... I've swapped it to other USB ports, ...
    (microsoft.public.windowsxp.hardware)
  • Lost Wireless Keyboard and Mouse
    ... Yesterday after doing an uninstall of iTunes browser I lost my HP ... If I tell it to install it ... doesn't find a driver and fails. ... I've swapped it to other USB ports, ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Epson Stylus photo R300 usb printer problem
    ... You should install the software BEFORE connecting the printer to the PC... ... Cari (MS-MVP) Windows Client - Printing & Imaging ... I've tried a complete uninstall of the printer. ... and USB cable - reinstalled the driver and follwed the manufacturer's ...
    (microsoft.public.windowsxp.print_fax)