用Windows的资源管理器拷贝网络中其他机子共享的文件时,第一次进入该电脑的时候,要先输入用户名和密码,然后才能考贝文件,请问在编程实现时,什么API可以实现in2000/NT远程登录,然后再继续其他的工作。好像LogonUser(…)可以(参见MSDN),但MSDN说
“The LogonUser function attempts to log a user on to the local computer, that is, to the computer from which LogonUser was called. You cannot use LogonUser to log on to a remote computer. ……”