拨号参考
http://ssbird.blog.51cto.com/277690/56809
win7 64bit 使用上面代码就不可以了,
问题描述:
1.根据不同操作系统,怎么行到lprasConn.dwSize
lprasConn.dwSize = Marshal.SizeOf(typeof(RASCONN));//有些系统不可以
0×0500表示Windows 2000,
0×0501为Windows XP,
0×0502为Windows Server 2003,
0×0600 为 Windows Vista
win7 64bit =?
在程序中,有没有通过的?或者我怎么动态去得到各个值,谢谢
现在失败的情况
nRet = RAS.RasEnumConnections(ref lprasConn, ref lpcb, ref lpcConnections);
nRet 返回632