static extern int cameraGetCameraState(); [DllImport("cam8sll06.dll", CallingConvention = CallingConvention.StdCall, CharSet = CharSet.Ansi)]