TDI_ADDRESS_NETBIOS structure
The TDI_ADDRESS_NETBIOS structure contains a NetBIOS address, packed and aligned correctly.
Syntax
typedef struct _TDI_ADDRESS_NETBIOS {
USHORT NetbiosNameType;
UCHAR NetbiosName[16];
} TDI_ADDRESS_NETBIOS, *PTDI_ADDRESS_NETBIOS;
Members
NetbiosNameType
Specifies a NetBIOS name type. A TDI transport uses this member only when a file object representing an address is opened. Otherwise, the transport can ignore this member. This member can be one of the following values:TDI_ADDRESS_NETBIOS_TYPE_UNIQUE
The value at NetbiosName is unique.TDI_ADDRESS_NETBIOS_TYPE_GROUP
The value at NetbiosName is a group name.TDI_ADDRESS_NETBIOS_TYPE_QUICK_UNIQUE
The value at NetbiosName is unique. The transport adds this name to its name table without checking for conflicts on the network.TDI_ADDRESS_NETBIOS_TYPE_QUICK_GROUP
The value at NetbiosName is a group name. The transport adds this name to its name table without checking for conflicts on the network.
NetbiosName
Specifies the NetBIOS name.
Remarks
A TRANSPORT_ADDRESS structure contains a specified number of elements of type TA_ADDRESS. TDI_ADDRESS_NETBIOS defines the Address member of a TA_ADDRESS structure in which the AddressType is set to TDI_ADDRESS_TYPE_NETBIOS.
The AddressLength member(s) of the TA_ADDRESS substructure(s) can be set to the system-defined constant TDI_ADDRESS_LENGTH_NETBIOS.
Note The TDI feature is deprecated and will be removed in future versions of Microsoft Windows. Depending on how you use TDI, use either the Winsock Kernel (WSK) or Windows Filtering Platform (WFP). For more information about WFP and WSK, see Windows Filtering Platform and Winsock Kernel. For a Windows Core Networking blog entry about WSK and TDI, see Introduction to Winsock Kernel (WSK).
Requirements
Header |
Tdi.h (include Tdi.h or TdiKrnl.h) |
See also