Updated struct mapping for TWAIN 2.3

This commit is contained in:
soukoku
2014-04-02 21:39:33 -04:00
parent 6f4e70ae7b
commit 2565ac21e1
7 changed files with 1086 additions and 1057 deletions

View File

@@ -306,16 +306,16 @@
PdfA2 = 16
}
/// <summary>
/// Audio file format values.
/// </summary>
public enum AudioFileFormat : ushort
{
Wav = 0,
Aiff = 1,
AU = 3,
Snd = 4,
}
///// <summary>
///// Audio file format values.
///// </summary>
//public enum AudioFileFormat : ushort
//{
// Wav = 0,
// Aiff = 1,
// AU = 3,
// Snd = 4,
//}
/// <summary>
/// ICapImageFilter values.
@@ -360,7 +360,7 @@
CieXYZ = 8,
Lab = 9,
SRGB = 10,
ScRGB = 11,
//ScRGB = 11,
Infrared = 16
}

View File

@@ -423,7 +423,7 @@ namespace NTwain.Values
CapFeedPage = 0x1009,
CapRewindPage = 0x100a,
CapIndicators = 0x100b, /* Added 1.1 */
CapSupportedCapsExt = 0x100c, /* Added 1.6 */
//CapSupportedCapsExt = 0x100c, /* Added 1.6 */
CapPaperDetectable = 0x100d, /* Added 1.6 */
CapUIControllable = 0x100e, /* Added 1.6 */
CapDeviceOnline = 0x100f, /* Added 1.6 */
@@ -705,8 +705,8 @@ namespace NTwain.Values
/// Means Item is a char string shorter than 255.
/// </summary>
String255 = 0xc,
String1024 = 0xd,
Unicode512 = 0xe,
//String1024 = 0xd,
//Unicode512 = 0xe,
/// <summary>
/// Means Item is a handle (pointer).
/// </summary>

View File

@@ -25,7 +25,8 @@
/// </summary>
public const int String255 = 256;
public const int String1024 = 1026;
// deprecated
//public const int String1024 = 1026;
/// <summary>
/// Don't care value for 8 bit types.
@@ -47,7 +48,7 @@
/// <summary>
/// The minor version number of TWAIN supported by this library.
/// </summary>
public const short ProtocolMinor = 2;
public const short ProtocolMinor = 3;
/// <summary>
/// Value for false where applicable.