Index   Commented   Search   About

Overview
Group
Quick Info

Windows NT
Yes
Win95
No
Win32s
No
Import Library
netapi32.lib
Header File
lmserver.h
Unicode
WinNT
Platform Notes
All LanMan APIs are UNICODE only

NetServerTransportAdd

The NetServerTransportAdd function binds the server to the transport.

Security Requirements

Only members of the Administrators local group can successfully execute NetServerTransportAdd.

NET_API_STATUS NetServerTransportAdd(

LPTSTR servername,

DWORD level,

LPBYTE bufptr

);

Parameters

servername

Pointer to a Unicode string containing the name of the remote server on which the function is to execute. A NULL pointer or string specifies the local computer.

level

Specifies the following value to set the level of information provided.

Value
Meaning
0
The bufptr parameter points to an array of SERVER_TRANSPORT_INFO_0 structures.

bufptr

Pointer to the buffer in which the data set with the level parameter is stored.

See Also

NetServerTransportDel
, SERVER_TRANSPORT_INFO_0

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder

More Online Helps

Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun