I've spent the last few days looking at LSPs and have found
some errors in the sample.
the wrong WSAPROTOCOLINFO to the next person in the chain:
fails when layered over another LSP.
Fix: DCATALOG::FindNextProviderInChain needs to start by setting *BaseProviderCatalogEntry=NULL
2. Assuming *lpErrno == 0:
Symptom: ssl sockets
(created via SO_SECURE) stop working when layered over ssllsp
Fix: WSPSelect needs
to start by setting *lpErrno=NO_ERROR.
I plan on publishing another post on this shortly.