comment out deprecated things.

This commit is contained in:
Eugene Wang
2021-04-27 12:27:16 -04:00
parent c5e7789555
commit e2350b002b
2 changed files with 21 additions and 18 deletions

View File

@@ -1236,14 +1236,15 @@ namespace NTwain
} }
} }
private CapWrapper<TWCB> _clearBuff; // deprecated
public CapWrapper<TWCB> CAP_CLEARBUFFERS //private CapWrapper<TWCB> _clearBuff;
{ //public CapWrapper<TWCB> CAP_CLEARBUFFERS
get //{
{ // get
return _clearBuff ?? (_clearBuff = new CapWrapper<TWCB>(_twain, CAP.CAP_CLEARBUFFERS)); // {
} // return _clearBuff ?? (_clearBuff = new CapWrapper<TWCB>(_twain, CAP.CAP_CLEARBUFFERS));
} // }
//}
private CapWrapper<uint> _maxBatchBuff; private CapWrapper<uint> _maxBatchBuff;

View File

@@ -2733,15 +2733,16 @@ namespace TWAINWorkingGroup
BOTTOM = 2 BOTTOM = 2
} }
/// <summary> // deprecated
/// CAP_CLEARBUFFERS values ///// <summary>
/// </summary> ///// CAP_CLEARBUFFERS values
public enum TWCB : ushort ///// </summary>
{ //public enum TWCB : ushort
AUTO = 0, //{
CLEAR = 1, // AUTO = 0,
NOCLEAR = 2 // CLEAR = 1,
} // NOCLEAR = 2
//}
/// <summary> /// <summary>
/// CAP_DEVICEEVENT values /// CAP_DEVICEEVENT values
@@ -4289,7 +4290,8 @@ namespace TWAINWorkingGroup
GETCURRENT = 0x0008, GETCURRENT = 0x0008,
RESET = 0x0010, RESET = 0x0010,
SETCONSTRAINT = 0x0020, SETCONSTRAINT = 0x0020,
CONSTRAINABLE = 0x0040 // deprecated
//CONSTRAINABLE = 0x0040
} }
/// <summary> /// <summary>