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;
public CapWrapper<TWCB> CAP_CLEARBUFFERS
{
get
{
return _clearBuff ?? (_clearBuff = new CapWrapper<TWCB>(_twain, CAP.CAP_CLEARBUFFERS));
}
}
// deprecated
//private CapWrapper<TWCB> _clearBuff;
//public CapWrapper<TWCB> CAP_CLEARBUFFERS
//{
// get
// {
// return _clearBuff ?? (_clearBuff = new CapWrapper<TWCB>(_twain, CAP.CAP_CLEARBUFFERS));
// }
//}
private CapWrapper<uint> _maxBatchBuff;

View File

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