Re: Pocket PC NDIS Intermediate Driver Programmatic Uninstall

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Ilya Faenson (ifaenson_at_hotmail.com)
Date: 07/12/04


Date: 12 Jul 2004 10:33:37 -0700

Thank you for your reply, Maxim. Yes, it is easy to start and stop
network adapters in Pocket PC: the IOCTL_NDIS_[UN,RE]BIND_ADAPTER &
the IOCTL_NDIS_[DE]REGISTER_ADAPTER calls are rather useful as well
as their Ndis call counterparts. Sure, miniport uninstalls bring
the sockets down and I'm fine with that.

Well, as there have been no other suggestions, I'll stick to the
original plan and implement the IM programmatic uninstall manually
myself...

"Maxim S. Shatskih" <maxim@storagecraft.com> wrote in message news:<u2inpRuZEHA.2340@TK2MSFTNGP09.phx.gbl>...
> Is it possible to manipulate the bindings in PPC 2003 at all?
>
> The WinCE itself - the "PDA" emulator platform shipped with PB - is
> definitely able of starting/stopping the network adapters, and thus is a good
> testbed to test IMs.
>
> But as about PPC 2003 - any means in this platform in starting/stopping the
> network adapter?
>
> Also note. Binding remake necessary to uninstall the IM will cause the
> interface removal/re-arrival inside the IP protocol. In Windows NT, this causes
> all connected (via this adapter) sockets to be torn down. I expect this to be
> such in CE too.
>
> Given the fact that a soft reset requirement for PPC is by far easier then
> a reboot requirement for NT, it is possibly a good idea to require the soft
> reset.
>
> --
> Maxim Shatskih, Windows DDK MVP
> StorageCraft Corporation
> maxim@storagecraft.com
> http://www.storagecraft.com
>
>
> "Ilya Faenson" <ifaenson@hotmail.com> wrote in message
> news:7ac2783c.0407101208.5fdca75e@posting.google.com...
> > Folks,
> >
> > Unlike the other types of Pocket PC drivers I've worked with before,
> > NDIS intermediate drivers seem to come with an easy way to install
> > them programmatically (via the IOCTL_NDIS_LOAD_MINIPORT request),
> > but not to uninstall. Sure, I can go ahead and unbind all the
> > protocols manually from the intermediate driver miniport, force the
> > intermediate driver protocol to close all the adapters underneath
> > and then rebind the genuine adapters back to the protocols directly,
> > restoring their "UpperBind" and what have you Registry values if any.
> > And I will probably do just that, but I want to make sure first that
> > there is no easier way. Pls pls don't offer me to manupulate the
> > Registry first and then restart the iPAQ - restart is not an option.
> > I guess I'm too used to the straightforward way to install and
> > uninstall NDIS intermediate drivers in "large" Windows...
> >
> > The ndisconfig.c in the Platform Builder does just the intermediate
> > driver install too, but not the uninstall. Could a knowledgeable
> > soul confirm that I do indeed need to code it all manually?
> >
> > Many thanks,
> >
> > Ilya Faenson
> > ifaenson@hotmail.com



Relevant Pages

  • Re: Microsoft Tun Miniport Adapter issue
    ... Did you check the notebook's vendor driver page -? ... PCs no longer provide XP drivers, only Vista & Seven. ... Network Adapters of the Device Manager, ... I tried to uninstall these 3 Tun Miniport ...
    (microsoft.public.windowsxp.general)
  • [PATCH 18-rc3] Fix typos in /Documentation : S
    ... Request flows seen by I/O schedulers ... cpufreq-stats is a driver that provices CPU frequency statistics for each CPU. ... +interface will appear in a separate directory under cpufreq ... This drives supports all SMC ISA/MCA adapters. ...
    (Linux-Kernel)
  • Re: 2-15-08 windows update killed all usb
    ... P:\ Remote network ... File cache managed by Windows ... Windows successfully loaded the device driver for this hardware but cannot ... resore, and it wouldn't, tried uninstall, but it won't uninstall ...
    (microsoft.public.windowsupdate)
  • Re: Serious error, cant access My documents,control panel etc.
    ... Dump / uninstall Tune Up Utilities. ... If a driver is ... Before this problems started I've been trying to get a webcam to work, ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: How to bind passthru to NDIS USB driver ?
    ... >> Has no-one tried to bind an NDIS intermediate driver to anything other ... > There are two kinds of USB Network Adapters: ... Adapters that implement NDIS in the adapter firmware and interface to ... > NDIS USB adapters that I use for testing. ...
    (microsoft.public.development.device.drivers)