/// <summary> /// 采集设备信息(可离线) /// </summary> /// <param name="ActiveDeviceInfo">获取的设备信息字符串</param> /// <returns>接口返回码,返回0表示正常,返回其他值请在开发者中心-帮助中心查询</returns> public int ArcSoft_FIC_GetActiveDeviceInfo(out string ActiveDeviceInfo) { int retCode = -1; ActiveDeviceInfo = string.Empty; IntPtr pActiveDeviceInfo = IntPtr.Zero; retCode = FICFunctions.ArcSoft_FIC_GetActiveDeviceInfo(ref pActiveDeviceInfo); if (!retCode.Equals(0)) { MemoryUtil.Free(pActiveDeviceInfo); return(retCode); } ActiveDeviceInfo = Marshal.PtrToStringAnsi(pActiveDeviceInfo); return(retCode); }