考虑到我已连接到远程机器的多个共享(\ machineAshare1,\ machineAshare2 ....),以及其他远程机器的共享。
现在我的问题是如何仅找到与特定机器连接的那些共享。例如,仅与MachineA连接的那些共享。
我已经遇到过WNetOpenEnum和WNetEnumResource。但是它们非常低效,会返回连接到我的计算机的所有共享,然后我必须在结果中搜索连接到machineA的共享:(
我需要知道是否有其他功能可用于查找分享。
我正在使用VC++ 6.0工作。
edit: Hey guys having another trouble. Whenever i try to connect to a share on the machine i get the following error: "The referenced account is currently locked out and may not be logged on to" Has anyone encountered this problem and how was it solved