static extern bool cameraSetGain(int val); [DllImport("cam85ll02.dll", CallingConvention = CallingConvention.StdCall, CharSet = CharSet.Ansi)]