Retail Products:

Fifth LSP Tip

In the prvious tips I talked about WSPSelect problem for Vista and Win7, a new feature also introduced to Vista is LSP categories which means that every LSP should belong to a category, this is needed so LSP will not load where they are not needed and break functionality, the way it works is that every application has a list of categories that it is supporting, and the OS will only load LSPs that are marked with that category, for example suppose we have a service that requests the following categories: LSP_OUTBOUND_MODIFY, LSP_PROXY and the LSP doesn’t have any catagories then the LSP will not be loaded, only if the LSP had either LSP_OUTBOUND_MODIFY or LSP_PROXY then it would be loaded.

To set a category you need to use the function WSCSetProviderInfo and give it the GUID of the dummy LSP entry which is the single entry that is created when registering a LSP, or if you don’t wish to go to all this trouble, you can just use Komodia’s Advanced LSP Installer.