Export (0) Print
Expand All
Expand Minimize

SERVER_TRANSPORT_INFO_1 structure

The SERVER_TRANSPORT_INFO_1 structure contains information about the specified transport protocol, including name and address. This information level is valid only for the NetServerTransportAddEx function.

Syntax


typedef struct _SERVER_TRANSPORT_INFO_1 {
  DWORD  svti1_numberofvcs;
  LMSTR  svti1_transportname;
  LPBYTE svti1_transportaddress;
  DWORD  svti1_transportaddresslength;
  LMSTR  svti1_networkaddress;
  LMSTR  svti1_domain;
} SERVER_TRANSPORT_INFO_1, *PSERVER_TRANSPORT_INFO_1, *LPSERVER_TRANSPORT_INFO_1;

Members

svti1_numberofvcs

Type: DWORD

The number of clients connected to the server that are using the transport protocol specified by the svti1_transportname member.

svti1_transportname

Type: LMSTR

A pointer to a null-terminated character string that contains the name of a transport device; for example,

\Device\NetBT_Tcpip_{2C9725F4-151A-11D3-AEEC-C3B211BD350B}

This string is Unicode if _WIN32_WINNT or FORCE_UNICODE are defined.

svti1_transportaddress

Type: LPBYTE

A pointer to a variable that contains the address the server is using on the transport device specified by the svti1_transportname member.

This member is usually the NetBIOS name that the server is using. In these instances, the name must be 16 characters long, and the last character must be a blank character (0x20).

svti1_transportaddresslength

Type: DWORD

The length, in bytes, of the svti1_transportaddress member. For NetBIOS names, the value of this member is 16 (decimal).

svti1_networkaddress

Type: LMSTR

A pointer to a NULL-terminated character string that contains the address the network adapter is using. The string is transport-specific.

You can retrieve this value only with a call to the NetServerTransportEnum function. You cannot set this value with a call to the NetServerTransportAdd function or the NetServerTransportAddEx function.)

This string is Unicode if _WIN32_WINNT or FORCE_UNICODE are defined.

svti1_domain

Type: LMSTR

A pointer to a NULL-terminated character string that contains the name of the domain to which the server should announce its presence. (When you call NetServerTransportEnum, this member is the name of the domain to which the server is announcing its presence.)

This string is Unicode if _WIN32_WINNT or FORCE_UNICODE are defined.

Remarks

The SERVER_TRANSPORT_INFO_1 structure is used by the NetServerTransportAddEx function to bind the specified server to the transport protocol.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Lmserver.h (include Lm.h)

See also

Network Management Overview
Network Management Structures
Server and Workstation Transport Functions
NetServerComputerNameAdd
NetServerComputerNameDel
NetServerTransportAdd
NetServerTransportAddEx
NetServerTransportDel
NetServerTransportEnum
SERVER_TRANSPORT_INFO_0
SERVER_TRANSPORT_INFO_2
SERVER_TRANSPORT_INFO_3

 

 

Community Additions

ADD
Show:
© 2014 Microsoft