public void GetPhotoSettings(out int Res, out int mp) { int num = -1; int num1 = -1; if (this.IsConnected) { CiteDLL.XX_GetPhotographSetting(this.CamSerial, out num, out num1); } Res = num; mp = num1; }