WSK_TDI_MAP_INFO structure (wsk.h)

The WSK_TDI_MAP_INFO structure specifies a list that contains mappings of a combination of an address family, a socket type, and a protocol to the device name of a TDI transport.

Syntax

typedef struct _WSK_TDI_MAP_INFO {
  ULONG             ElementCount;
  const WSK_TDI_MAP *Map;
} WSK_TDI_MAP_INFO, *PWSK_TDI_MAP_INFO;

Members

ElementCount

The number of structures contained in the array pointed to by the Map member.

Map

A pointer to an array of WSK_TDI_MAP structures. Each WSK_TDI_MAP structure in the array contains a mapping of a particular address family, socket type, and protocol to the device name of a TDI transport.

Remarks

A WSK application passes a pointer to a WSK_TDI_MAP_INFO structure to the WskControlClient function when specifying
WSK_TDI_DEVICENAME_MAPPING for the control code.

If a WSK application uses the WSK_TDI_DEVICENAME_MAPPING client control operation to map combinations of address family, socket type, and protocol to device names of TDI transports, it must do so before it creates any sockets.

For more information about using TDI transports, see Using TDI Transports.

Note  TDI will not be supported in Microsoft Windows versions after Windows Vista. Use Windows Filtering Platform or Winsock Kernel instead.
 

Requirements

Requirement Value
Minimum supported client Available in Windows Vista and later versions of the Windows operating systems.
Header wsk.h (include Wsk.h)

See also

WSK_TDI_MAP

WskControlClient