3 回答
12345678_0001
TA贡献1802条经验 获得超5个赞
拉莫斯之舞
TA贡献1820条经验 获得超10个赞
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | public struct GT_DISCOVERY_INFO { [MarshalAs(UnmanagedType.ByValArray, SizeConst = 64)] public char[] byDevModel; public Int32 iDevType; public Int32 iPort; [MarshalAs(UnmanagedType.ByValArray, SizeConst = 16)] public char[] byIP; [MarshalAs(UnmanagedType.ByValArray, SizeConst = 4)] //假定GT_MACADDR_LEN=4 public char[] byMACAddr; 。。。。。。 }; [DllImport("xxxxx.dll")] public static extern Int32 GT_DEV_Login( string pchDEVIP, UInt16 wDEVPort, string pchUserName, string pchPassword, ref GT_DEV_DEVICECFG lpDeviceInfo, ref Int32 error); |
- 3 回答
- 0 关注
- 583 浏览
添加回答
举报
0/150
提交
取消