PC Review


Reply
Thread Tools Rate Thread

Layered Service Provider Under Windows NT

 
 
Victor Pereira
Guest
Posts: n/a
 
      15th Mar 2004
Hi, i'm trying to install a Layered Service Provider on Windows NT 4
Service Pack 6, but itīs failing at WSPInstallProvider() Function.

My Code to install a Provider is something like that:

WSAPROTOCOL_INFOW LayeredProtocolInfoBuff, ProtocolChainProtoInfo,
BaseProtocolInfoBuff;

// Retrieve BaseProtocolInfoBuff using WSCEnumProtocols

Memcpy (&LayeredProtocolInfoBuff , &BaseProtocolInfoBuff,
sizeof(WSAPROTOCOL_INFO));
LayeredProtocolInfoBuff.dwProviderFlags = PFL_HIDDEN;
LayeredProtocolInfoBuff.ProviderId = LayeredProviderGuid;
LayeredProtocolInfoBuff.dwCatalogEntryId = 0; // to be filled in by system
LayeredProtocolInfoBuff.ProtocolChain.ChainLen = LAYERED_PROTOCOL;
WSCInstallProvider(
&LayeredProviderGuid,
L"c:\winnt\system32\lsp.dll", // lpszProviderDllPath
&LayeredProtocolInfoBuff, // lpProtocolInfoList
1, // dwNumberOfEntries
& install_error // lpErrno
);

The Strange thing is that LSP is running at windows XP and Windows 2000.

Does Anyone knows why ? maybe some changes at WSAPROTOOCOL_INFOW
STRUCTURE ?

Reguards,

VP
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What do I type in the POP box and the SMPT box so I can send and receive emails. My service provider is my service provider is insightbb.com Jerry Oswald Windows Vista Mail 3 16th Jan 2010 07:32 PM
(LSP) Layered Service Provider is Outdated zzZRoc_24K Windows Vista General Discussion 0 24th Nov 2007 01:04 AM
Layered Service Provider Mossie Windows Vista Networking 3 24th Feb 2007 06:19 PM
layered service provider glenn sampano Security and Anti-Spyware Community 2 2nd May 2005 08:35 PM
layered service provider (LSP) conflicts Rob Smith Windows XP Basics 1 28th Oct 2003 09:39 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:00 PM.