C3032
2026-01-08 116ed6b584bbdb40c5b65e7cb57e039b6ae57800
LB_SmartVisionCameraSDK/PHM6000/PHM6000Profiler.cs
@@ -318,8 +318,8 @@
        /// <param name="szModuleType">模块名, char* szModuleType</param>
        /// <param name="szSerialNumber">序列号, char* szSerialNumber</param>
        /// <returns>获取失败返回-1,否则返回0。</returns>
        [DllImport("PHM6000API", CallingConvention = CallingConvention.StdCall, EntryPoint = "GetCameraInformation")]
        public static extern int GetCameraInformation(IntPtr pHandle, int nIndex, IntPtr szModuleType, IntPtr szSerialNumber);
        //[DllImport("PHM6000API", CallingConvention = CallingConvention.StdCall, EntryPoint = "GetCameraInformation")]
        //public static extern int GetCameraInformation(IntPtr pHandle, int nIndex, IntPtr szModuleType, IntPtr szSerialNumber);
        //PHM6000_API(int) GetCameraInformation(void* pHandle, int nIndex, char* szModuleType, char* szSerialNumber);
        /// <summary>
        /// 获取照相机信息
@@ -342,8 +342,8 @@
        /// <param name="szAddress">IP地址字符串, char* szAddress</param>
        /// <param name="nPort">端口号, int* nPort</param>
        /// <returns>获取失败返回-1,否则返回0。</returns>
        [DllImport("PHM6000API", CallingConvention = CallingConvention.StdCall, EntryPoint = "GetCameraAddress")]
        public static extern int GetCameraAddress(IntPtr pHandle, int nIndex, IntPtr szAddress, IntPtr nPort);
        //[DllImport("PHM6000API", CallingConvention = CallingConvention.StdCall, EntryPoint = "GetCameraAddress")]
        //public static extern int GetCameraAddress(IntPtr pHandle, int nIndex, IntPtr szAddress, IntPtr nPort);
        //PHM6000_API(int) GetCameraAddress(void* pHandle, int nIndex, char* szAddress, int* nPort);
        /// <summary>
        /// 得到连接的IP