Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This structure contains a counted list of Catalog Entry identifiers that constitute a provider chain.

Syntax

typedef struct _WSAPROTOCOLCHAIN {
  int 
ChainLen;
  DWORD 
ChainEntries[MAX_PROTOCOL_CHAIN];
} WSAPROTOCOLCHAIN, *LPWSAPROTOCOLCHAIN;

Members

ChainLen

Length of the chain. A value of 0 indicates a layered protocol. A value of 1 indicates a base protocol. A value of greater than one indicates a provider chain.

ChainEntries

Array of provider chain entries.

Remarks

If the length of the chain is larger than 1, this structure represents a provider chain which consists of one or more layered protocols on top of a base protocol. The corresponding Catalog Entry IDs are in the ProtocolChain.ChainEntries array starting with the layered protocol at the top (the zeroth element in the ProtocolChain.ChainEntries array) and ending with the base protocol. Refer to Windows Sockets 2Service Provider Interface for more information on provider chains.

Requirements

Header winsock2.h
Windows Embedded CE Windows CE .NET 4.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also