📄 connect.txt
字号:
SUMMARY Connect fDisconnect DOS only
#include <tools.h>
int Connect (path, con, sub)
char *path;
char *con;
char *sub;
flagType fDisconnect (drive)
int drive;
DESCRIPTION
Connect takes a name in the form \\mach\path and attempts to connect to
the named machine. Since DOS 3.x has problems with connections, we
attach the connection to a drive.
fDisconnect will delete a connection to a particular drive given
the token returned by Connect.
RETURN VALUE
Connect returns -1 if connection was not successful, otherwise
returns drive token.
fDisconnect returns TRUE if disconnection was successful
IMPLEMENTATION
Connect parameters:
path network name of the form
\\machine\path -or-
\\machine\shortname\path
con buffer to place the successful connection
sub buffer to place the remainder of the path
fDisocnnect parameters:
drive drive token
SEE ALSO
NOTE
EXAMPLE
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -