WSK_TDI_DEVICENAME_MAPPING

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. A WSK application uses this client control operation only if it requires support for TDI transports. When a WSK application creates a socket, the WSK subsystem refer to the list of mappings only if there is no native support for the combination of address family, socket type, and protocol specified by the WSK application.

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.

To map combinations of address family, socket type, and protocol to device names of TDI transports, a WSK application calls the WskControlClient function with the following parameters.

Parameter Value

ControlCode

WSK_TDI_DEVICENAME_MAPPING

InputSize

sizeof(WSK_TDI_MAP_INFO)

InputBuffer

A pointer to a WSK_TDI_MAP_INFO structure that contains a list of mappings of combinations of address family, socket type, and protocol to TDI device names.

OutputSize

0

OutputBuffer

NULL

OutputSizeReturned

NULL

Irp

NULL

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

The Irp parameter must be NULL for this client control operation.

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

Requirements

Version

Available in Windows Vista and later versions of the Windows operating systems.

Header

Wsk.h (include Wsk.h)