共用方式為


TA_VNS_ADDRESS structure

The TA_VNS_ADDRESS structure contains a single VNS transport address, suitable for use as a TRANSPORT_ADDRESS.

Syntax

typedef struct _TA_ADDRESS_VNS {
  LONG            TAAddressCount;
  struct _AddrVns {
    USHORT          AddressLength;
    USHORT          AddressType;
    TDI_ADDRESS_VNS Address[1];
  } Address[1];
} TA_VNS_ADDRESS, *PTA_VNS_ADDRESS;

Members

  • TAAddressCount
    Specifies 1.

  • Address
    Specifies a single address of a structure with the following members:

    • AddressLength
      Specifies the length (14 bytes) of a VNS address.

    • AddressType
      Specifies TDI_ADDRESS_TYPE_VNS.

    • Address
      Specifies a single address of type TDI_ADDRESS_VNS.

Remarks

TDI defines this structure for convenience in situations requiring a single TDI_ADDRESS of type TDI_ADDRESS_TYPE_VNS.

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

TA_ADDRESS

TDI_ADDRESS_VNS

TRANSPORT_ADDRESS

 

 

Send comments about this topic to Microsoft