Platform SDK: Network Management |
The SERVER_TRANSPORT_INFO_2 structure contains information about the specified transport protocol, including name and address. This information level is valid only for the NetServerTransportAddEx function.
typedef struct _SERVER_TRANSPORT_INFO_2 { DWORD svti2_numberofvcs; LPSTR svti2_transportname; LPBYTE svti2_transportaddress; DWORD svti2_transportaddresslength; LPSTR svti2_networkaddress; LPSTR svti2_domain; ULONG svti2_flags; } SERVER_TRANSPORT_INFO_2, *PSERVER_TRANSPORT_INFO_2, *LPSERVER_TRANSPORT_INFO_2;
\Device\NetBT_Tcpip_{2C9725F4-151A-11D3-AEEC-C3B211BD350B}
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).
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.)
Value | Meaning |
---|---|
SVTI2_REMAP_PIPE_NAMES | If this value is set for an endpoint, client requests arriving over the transport to open a named pipe are rerouted (remapped) to the local pipe name $$\ServerName\PipeName. For more information, see the following Remarks section. |
An example of the use of the SVTI2_REMAP_PIPE_NAMES value follows. Call the NetServerTransportAddEx function to add a transport to the server, specifying the address of "MyServer" in the svti2_transportaddress member, and SVTI2_REMAP_PIPE_NAMES in the svti2_flags member. When a client attempts to open "Pipe" on "\\MyServer" the client will actually open $$\MyServer\Pipe instead.
Windows NT/2000: Requires Windows NT 4.0 or later.
Windows 95/98: Unsupported.
Header: Declared in Lmserver.h.
Network Management Overview, Network Management Structures, Server and Workstation Transport Functions, NetServerTransportAddEx, NetServerTransportAdd, NetServerTransportDel, NetServerTransportEnum, SERVER_TRANSPORT_INFO_0, SERVER_TRANSPORT_INFO_1