// wsk.h
typedef struct _WSK_TDI_MAP_INFO {
ULONG ElementCount;
const WSK_TDI_MAP *Map;
} WSK_TDI_MAP_INFO, *PWSK_TDI_MAP_INFO;
View the official Windows Driver Kit DDI referenceNo description available.
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.
ElementCountThe number of structures contained in the array pointed to by the Map member.
MapA 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.
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.