TDI_ADDRESS_NETBIOS

typedef struct _TDI_ADDRESS_NETBIOS {

USHORT NetbiosNameType;

UCHAR NetbiosName[16];

} TDI_ADDRESS_NETBIOS, *PTDI_ADDRESS_NETBIOS

TDI_ADDRESS_NETBIOS contains a NetBIOS address, packed and aligned correctly.

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_NETBIOS_TYPE_UNIQUE

The value at NetbiosName is unique.

TDI_NETBIOS_TYPE_GROUP

The value at NetbiosName is a group name.

TDI_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_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[16]

Specifies the NetBIOS name.

Comments

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.

See Also

TA_ADDRESS, TA_NETBIOS_ADDRESS, TDI_ADDRESS_NETBIOS_EX, TdiDispatchCreate, TRANSPORT_ADDRESS