The NetWkstaTransportAdd function binds (or connects) the redirector to the transport. The redirector is the software on the client computer which generates file requests to the server computer.
Only members of the Administrators local group can successfully execute NetWkstaTransportAdd.
NET_API_STATUS NetWkstaTransportAdd(
LPTSTR servername, | |
DWORD level, | |
LPBYTE buf | |
); |
Value |
Meaning |
0 |
The buf parameter points to a WKSTA_TRANSPORT_INFO_0 structure. |