Enumerating Layered Service Providers

From: Bill Pytlovany (anonymous_at_discussions.microsoft.com)
Date: 04/26/04


Date: Mon, 26 Apr 2004 09:31:02 -0700

There's a great little free program available called LSP-Fix that shows the list of Layered Service Providers and will even allow you to remove one of the providers. It's a necessary because of the Spyware/Adware that installs itself without an Uninstaller. If the component is Unregistered or Removed the users internet service is dead.

I'm interested in building similiar technology into our program along with some extra features. Any idea what API calls are available to enumerate the current Layered Service Providers and view the chain like LSP-Fix does?
For example my XP Pro system shows my chain as
mswsock.dll Tcpip
winrnr.dll NTDS
rsvpsp.dll (Protocol handler)
If you can point me to the most appropriate API set I'm sure I can do the rest.

Thanks,
Bill
BillP Studios



Relevant Pages

  • RE: enumerating process threads form user mode
    ... Win32 provided 2 sets of APIs to enumerate the process list: ToolHelp API ... Microsoft Online Community Support ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Enumerate events in the system
    ... there's no API for doing that. ... Paul T. ... I would like to ask if it is possible to enumerate ...
    (microsoft.public.windowsce.embedded)
  • Re: Zip API in WindowsXP
    ... pop-up displaying the first 10 or so entries in the zip file. ... got to be a way to tap into the API that XP uses to enumerate the ...
    (microsoft.public.vb.winapi)
  • RE: Enum Servers and machines on the network.
    ... I recommend that you use Network Management API to retrive the computers, ... For the net shares, you can refer to the API for Network Share Management: ... you can use ADSI APIs to access active directory to enumerate related ...
    (microsoft.public.vb.winapi.networks)
  • Re: NDISUIO
    ... I will check if it works with API. ... >> Is there a way to found out if NDISUIO driver is already running? ... > user mode service control API will enumerate it and allow you to query ...
    (microsoft.public.development.device.drivers)