package com.dynarithmic.twain;

public class DTwainJavaAPIConstants 
{
    public static final int DTWAIN_FF_TIFF = 0;
    public static final int DTWAIN_FF_PICT = 1;
    public static final int DTWAIN_FF_BMP = 2;
    public static final int DTWAIN_FF_XBM = 3;
    public static final int DTWAIN_FF_JFIF = 4;
    public static final int DTWAIN_FF_FPX = 5;
    public static final int DTWAIN_FF_TIFFMULTI = 6;
    public static final int DTWAIN_FF_PNG = 7;
    public static final int DTWAIN_FF_SPIFF = 8;
    public static final int DTWAIN_FF_EXIF = 9;
    public static final int DTWAIN_FF_PDF = 10;
    public static final int DTWAIN_FF_JP2 = 11;
    public static final int DTWAIN_FF_JPX = 13;
    public static final int DTWAIN_FF_DEJAVU = 14;
    public static final int DTWAIN_FF_PDFA = 15;
    public static final int DTWAIN_FF_PDFA2 = 16;
    public static final int DTWAIN_CP_NONE = 0;
    public static final int DTWAIN_CP_PACKBITS = 1;
    public static final int DTWAIN_CP_GROUP31D = 2;
    public static final int DTWAIN_CP_GROUP31DEOL = 3;
    public static final int DTWAIN_CP_GROUP32D = 4;
    public static final int DTWAIN_CP_GROUP4 = 5;
    public static final int DTWAIN_CP_JPEG = 6;
    public static final int DTWAIN_CP_LZW = 7;
    public static final int DTWAIN_CP_JBIG = 8;
    public static final int DTWAIN_CP_PNG = 9;
    public static final int DTWAIN_CP_RLE4 = 10;
    public static final int DTWAIN_CP_RLE8 = 11;
    public static final int DTWAIN_CP_BITFIELDS = 12;
    public static final int DTWAIN_FS_NONE = 0;
    public static final int DTWAIN_FS_A4LETTER = 1;
    public static final int DTWAIN_FS_B5LETTER = 2;
    public static final int DTWAIN_FS_USLETTER = 3;
    public static final int DTWAIN_FS_USLEGAL = 4;
    public static final int DTWAIN_FS_A5 = 5;
    public static final int DTWAIN_FS_B4 = 6;
    public static final int DTWAIN_FS_B6 = 7;
    public static final int DTWAIN_FS_USLEDGER = 9;
    public static final int DTWAIN_FS_USEXECUTIVE = 10;
    public static final int DTWAIN_FS_A3 = 11;
    public static final int DTWAIN_FS_B3 = 12;
    public static final int DTWAIN_FS_A6 = 13;
    public static final int DTWAIN_FS_C4 = 14;
    public static final int DTWAIN_FS_C5 = 15;
    public static final int DTWAIN_FS_C6 = 16;
    public static final int DTWAIN_FS_4A0 = 17;
    public static final int DTWAIN_FS_2A0 = 18;
    public static final int DTWAIN_FS_A0 = 19;
    public static final int DTWAIN_FS_A1 = 20;
    public static final int DTWAIN_FS_A2 = 21;
    public static final int DTWAIN_FS_A4 = DTWAIN_FS_A4LETTER;
    public static final int DTWAIN_FS_A7 = 22;
    public static final int DTWAIN_FS_A8 = 23;
    public static final int DTWAIN_FS_A9 = 24;
    public static final int DTWAIN_FS_A10 = 25;
    public static final int DTWAIN_FS_ISOB0 = 26;
    public static final int DTWAIN_FS_ISOB1 = 27;
    public static final int DTWAIN_FS_ISOB2 = 28;
    public static final int DTWAIN_FS_ISOB3 = DTWAIN_FS_B3;
    public static final int DTWAIN_FS_ISOB4 = DTWAIN_FS_B4;
    public static final int DTWAIN_FS_ISOB5 = 29;
    public static final int DTWAIN_FS_ISOB6 = DTWAIN_FS_B6;
    public static final int DTWAIN_FS_ISOB7 = 30;
    public static final int DTWAIN_FS_ISOB8 = 31;
    public static final int DTWAIN_FS_ISOB9 = 32;
    public static final int DTWAIN_FS_ISOB10 = 33;
    public static final int DTWAIN_FS_JISB0 = 34;
    public static final int DTWAIN_FS_JISB1 = 35;
    public static final int DTWAIN_FS_JISB2 = 36;
    public static final int DTWAIN_FS_JISB3 = 37;
    public static final int DTWAIN_FS_JISB4 = 38;
    public static final int DTWAIN_FS_JISB5 = DTWAIN_FS_B5LETTER;
    public static final int DTWAIN_FS_JISB6 = 39;
    public static final int DTWAIN_FS_JISB7 = 40;
    public static final int DTWAIN_FS_JISB8 = 41;
    public static final int DTWAIN_FS_JISB9 = 42;
    public static final int DTWAIN_FS_JISB10 = 43;
    public static final int DTWAIN_FS_C0 = 44;
    public static final int DTWAIN_FS_C1 = 45;
    public static final int DTWAIN_FS_C2 = 46;
    public static final int DTWAIN_FS_C3 = 47;
    public static final int DTWAIN_FS_C7 = 48;
    public static final int DTWAIN_FS_C8 = 49;
    public static final int DTWAIN_FS_C9 = 50;
    public static final int DTWAIN_FS_C10 = 51;
    public static final int DTWAIN_FS_USSTATEMENT = 52;
    public static final int DTWAIN_FS_BUSINESSCARD = 53;
    public static final int DTWAIN_ANYSUPPORT = (-1);
    public static final int DTWAIN_BMP = 100;
    public static final int DTWAIN_JPEG = 200;
    public static final int DTWAIN_PDF = 250;
    public static final int DTWAIN_PDFMULTI = 251;
    public static final int DTWAIN_PCX = 300;
    public static final int DTWAIN_DCX = 301;
    public static final int DTWAIN_TGA = 400;
    public static final int DTWAIN_TIFFLZW = 500;
    public static final int DTWAIN_TIFFNONE = 600;
    public static final int DTWAIN_TIFFG3 = 700;
    public static final int DTWAIN_TIFFG4 = 800;
    public static final int DTWAIN_TIFFPACKBITS = 801;
    public static final int DTWAIN_TIFFDEFLATE = 802;
    public static final int DTWAIN_TIFFJPEG = 803;
    public static final int DTWAIN_TIFFJBIG = 804;
    public static final int DTWAIN_TIFFPIXARLOG = 805;
    public static final int DTWAIN_TIFFNONEMULTI = 900;
    public static final int DTWAIN_TIFFG3MULTI = 901;
    public static final int DTWAIN_TIFFG4MULTI = 902;
    public static final int DTWAIN_TIFFPACKBITSMULTI = 903;
    public static final int DTWAIN_TIFFDEFLATEMULTI = 904;
    public static final int DTWAIN_TIFFJPEGMULTI = 905;
    public static final int DTWAIN_TIFFLZWMULTI = 906;
    public static final int DTWAIN_TIFFJBIGMULTI = 907;
    public static final int DTWAIN_TIFFPIXARLOGMULTI = 908;
    public static final int DTWAIN_WMF = 850;
    public static final int DTWAIN_EMF = 851;
    public static final int DTWAIN_GIF = 950;
    public static final int DTWAIN_PNG = 1000;
    public static final int DTWAIN_PSD = 2000;
    public static final int DTWAIN_JPEG2000 = 3000;
    public static final int DTWAIN_POSTSCRIPT1 = 4000;
    public static final int DTWAIN_POSTSCRIPT2 = 4001;
    public static final int DTWAIN_POSTSCRIPT3 = 4002;
    public static final int DTWAIN_POSTSCRIPT1MULTI = 4003;
    public static final int DTWAIN_POSTSCRIPT2MULTI = 4004;
    public static final int DTWAIN_POSTSCRIPT3MULTI = 4005;
    public static final int DTWAIN_TEXT = 6000;
    public static final int DTWAIN_TEXTMULTI = 6001;
    public static final int DTWAIN_TIFFMULTI = 7000;
    public static final int DTWAIN_ICO = 8000;
    public static final int DTWAIN_ICO_VISTA = 8001;
    public static final int DTWAIN_WBMP = 8500;
    public static final int DTWAIN_INCHES = 0;
    public static final int DTWAIN_CENTIMETERS = 1;
    public static final int DTWAIN_PICAS = 2;
    public static final int DTWAIN_POINTS = 3;
    public static final int DTWAIN_TWIPS = 4;
    public static final int DTWAIN_PIXELS = 5;
    public static final int DTWAIN_USENAME = 4;
    public static final int DTWAIN_USEPROMPT = 8;
    public static final int DTWAIN_USELONGNAME = 16;
    public static final int DTWAIN_USESOURCEMODE = 32;
    public static final int DTWAIN_USELIST = 64;
    public static final int DTWAIN_ARRAYANY = 1;
    public static final int DTWAIN_ArrayTypePTR = 1;
    public static final int DTWAIN_ARRAYLONG = 2;
    public static final int DTWAIN_ARRAYFLOAT = 3;
    public static final int DTWAIN_ARRAYHANDLE = 4;
    public static final int DTWAIN_ARRAYSOURCE = 5;
    public static final int DTWAIN_ARRAYSTRING = 6;
    public static final int DTWAIN_ARRAYFRAME = 7;
    public static final int DTWAIN_ARRAYBOOL = DTWAIN_ARRAYLONG;
    public static final int DTWAIN_ARRAYLONGSTRING = 8;
    public static final int DTWAIN_ARRAYUNICODESTRING = 9;
    public static final int DTWAIN_ARRAYLONG64 = 10;
    public static final int DTWAIN_ARRAYANSISTRING = 11;
    public static final int DTWAIN_ARRAYWIDESTRING = 12;
    public static final int DTWAIN_ARRAYTWFIX32 = 200;
    public static final int DTWAIN_ArrayTypeINVALID = 0;
    public static final int DTWAIN_ARRAYINT16 = 100;
    public static final int DTWAIN_ARRAYUINT16 = 110;
    public static final int DTWAIN_ARRAYUINT32 = 120;
    public static final int DTWAIN_ARRAYINT32 = 130;
    public static final int DTWAIN_ARRAYINT64 = 140;
    public static final int DTWAIN_RANGELONG = DTWAIN_ARRAYLONG;
    public static final int DTWAIN_RANGEFLOAT = DTWAIN_ARRAYFLOAT;
    public static final int DTWAIN_RANGEMIN = 0;
    public static final int DTWAIN_RANGEMAX = 1;
    public static final int DTWAIN_RANGESTEP = 2;
    public static final int DTWAIN_RANGEDEFAULT = 3;
    public static final int DTWAIN_RANGECURRENT = 4;
    public static final int DTWAIN_FRAMELEFT = 0;
    public static final int DTWAIN_FRAMETOP = 1;
    public static final int DTWAIN_FRAMERIGHT = 2;
    public static final int DTWAIN_FRAMEBOTTOM = 3;
    public static final int DTWAIN_FIX32WHOLE = 0;
    public static final int DTWAIN_FIX32FRAC = 1;
    public static final int DTWAIN_JC_NONE = 0;
    public static final int DTWAIN_JC_JSIC = 1;
    public static final int DTWAIN_JC_JSIS = 2;
    public static final int DTWAIN_JC_JSXC = 3;
    public static final int DTWAIN_JC_JSXS = 4;
    public static final int DTWAIN_CAPDATATYPE_UNKNOWN = (-10);
    public static final int DTWAIN_JCBP_JSIC = 5;
    public static final int DTWAIN_JCBP_JSIS = 6;
    public static final int DTWAIN_JCBP_JSXC = 7;
    public static final int DTWAIN_JCBP_JSXS = 8;
    public static final int DTWAIN_FEEDPAGEON = 1;
    public static final int DTWAIN_CLEARPAGEON = 2;
    public static final int DTWAIN_REWINDPAGEON = 4;
    public static final int DTWAIN_AppOwnsDib = 1;
    public static final int DTWAIN_SourceOwnsDib = 2;
    public static final int DTWAIN_CONTARRAY = 8;
    public static final int DTWAIN_CONTENUMERATION = 16;
    public static final int DTWAIN_CONTONEVALUE = 32;
    public static final int DTWAIN_CONTRANGE = 64;
    public static final int DTWAIN_CONTDEFAULT = 0;
    public static final int DTWAIN_CAPGET = 1;
    public static final int DTWAIN_CAPGETCURRENT = 2;
    public static final int DTWAIN_CAPGETDEFAULT = 3;
    public static final int DTWAIN_CAPSET = 6;
    public static final int DTWAIN_CAPRESET = 7;
    public static final int DTWAIN_CAPRESETALL = 8;
    public static final int DTWAIN_CAPSETCONSTRAINT = 9;
    public static final int DTWAIN_CAPSETAVAILABLE = 8;
    public static final int DTWAIN_CAPSETCURRENT = 16;
    public static final int DTWAIN_AREASET = DTWAIN_CAPSET;
    public static final int DTWAIN_AREARESET = DTWAIN_CAPRESET;
    public static final int DTWAIN_AREACURRENT = DTWAIN_CAPGETCURRENT;
    public static final int DTWAIN_AREADEFAULT = DTWAIN_CAPGETDEFAULT;
    public static final int DTWAIN_VER15 = 0;
    public static final int DTWAIN_VER16 = 1;
    public static final int DTWAIN_VER17 = 2;
    public static final int DTWAIN_VER18 = 3;
    public static final int DTWAIN_VER20 = 4;
    public static final int DTWAIN_VER21 = 5;
    public static final int DTWAIN_VER22 = 6;
    public static final int DTWAIN_ACQUIREALL = (-1);
    public static final int DTWAIN_MAXACQUIRE = (-1);
    public static final int DTWAIN_DX_NONE = 0;
    public static final int DTWAIN_DX_1PASSDUPLEX = 1;
    public static final int DTWAIN_DX_2PASSDUPLEX = 2;
    public static final int DTWAIN_PT_BW = 0;
    public static final int DTWAIN_PT_GRAY = 1;
    public static final int DTWAIN_PT_RGB = 2;
    public static final int DTWAIN_PT_PALETTE = 3;
    public static final int DTWAIN_PT_CMY = 4;
    public static final int DTWAIN_PT_CMYK = 5;
    public static final int DTWAIN_PT_YUV = 6;
    public static final int DTWAIN_PT_YUVK = 7;
    public static final int DTWAIN_PT_CIEXYZ = 8;
    public static final int DTWAIN_PT_DEFAULT = 1000;
    public static final int DTWAIN_CURRENT = (-2);
    public static final int DTWAIN_DEFAULT = (-1);
    public static final double DTWAIN_FLOATDEFAULT = (-9999.0);
    public static final int DTWAIN_CallbackERROR = 1;
    public static final int DTWAIN_CallbackMESSAGE = 2;
    public static final int DTWAIN_USENATIVE = 1;
    public static final int DTWAIN_USEBUFFERED = 2;
    public static final int DTWAIN_USECOMPRESSION = 4;
    public static final int DTWAIN_FAILURE1 = (-1);
    public static final int DTWAIN_FAILURE2 = (-2);
    public static final int DTWAIN_DELETEALL = (-1);
    public static final int DTWAIN_TN_ACQUIREDONE = 1000;
    public static final int DTWAIN_TN_ACQUIREFAILED = 1001;
    public static final int DTWAIN_TN_ACQUIRECANCELLED = 1002;
    public static final int DTWAIN_TN_ACQUIRESTARTED = 1003;
    public static final int DTWAIN_TN_PAGECONTINUE = 1004;
    public static final int DTWAIN_TN_PAGEFAILED = 1005;
    public static final int DTWAIN_TN_PAGECANCELLED = 1006;
    public static final int DTWAIN_TN_TRANSFERREADY = 1009;
    public static final int DTWAIN_TN_TRANSFERDONE = 1010;
    public static final int DTWAIN_TN_ACQUIREPAGEDONE = 1010;
    public static final int DTWAIN_TN_UICLOSING = 1011;
    public static final int DTWAIN_TN_UICLOSED = 1012;
    public static final int DTWAIN_TN_UIOPENED = 1013;
    public static final int DTWAIN_TN_UIOPENING = 1055;
    public static final int DTWAIN_TN_UIOPENFAILURE = 1060;
    public static final int DTWAIN_TN_CLIPTRANSFERDONE = 1014;
    public static final int DTWAIN_TN_INVALIDIMAGEFORMAT = 1015;
    public static final int DTWAIN_TN_ACQUIRETERMINATED = 1021;
    public static final int DTWAIN_TN_TRANSFERSTRIPREADY = 1022;
    public static final int DTWAIN_TN_TRANSFERSTRIPDONE = 1023;
    public static final int DTWAIN_TN_TRANSFERSTRIPFAILED = 1029;
    public static final int DTWAIN_TN_IMAGEINFOERROR = 1024;
    public static final int DTWAIN_TN_TRANSFERCANCELLED = 1030;
    public static final int DTWAIN_TN_FILESAVECANCELLED = 1031;
    public static final int DTWAIN_TN_FILESAVEOK = 1032;
    public static final int DTWAIN_TN_FILESAVEERROR = 1033;
    public static final int DTWAIN_TN_FILEPAGESAVEOK = 1034;
    public static final int DTWAIN_TN_FILEPAGESAVEERROR = 1035;
    public static final int DTWAIN_TN_PROCESSEDDIB = 1036;
    public static final int DTWAIN_TN_FEEDERLOADED = 1037;
    public static final int DTWAIN_TN_GENERALERROR = 1038;
    public static final int DTWAIN_TN_MANDUPFLIPPAGES = 1040;
    public static final int DTWAIN_TN_MANDUPSIDE1DONE = 1041;
    public static final int DTWAIN_TN_MANDUPSIDE2DONE = 1042;
    public static final int DTWAIN_TN_MANDUPPAGECOUNTERROR = 1043;
    public static final int DTWAIN_TN_MANDUPACQUIREDONE = 1044;
    public static final int DTWAIN_TN_MANDUPSIDE1START = 1045;
    public static final int DTWAIN_TN_MANDUPSIDE2START = 1046;
    public static final int DTWAIN_TN_MANDUPMERGEERROR = 1047;
    public static final int DTWAIN_TN_MANDUPMEMORYERROR = 1048;
    public static final int DTWAIN_TN_MANDUPFILEERROR = 1049;
    public static final int DTWAIN_TN_MANDUPFILESAVEERROR = 1050;
    public static final int DTWAIN_TN_ENDOFJOBDETECTED = 1051;
    public static final int DTWAIN_TN_EOJDETECTED = 1051;
    public static final int DTWAIN_TN_EOJDETECTED_XFERDONE = 1052;
    public static final int DTWAIN_TN_QUERYPAGEDISCARD = 1053;
    public static final int DTWAIN_TN_PAGEDISCARDED = 1054;
    public static final int DTWAIN_TN_PROCESSDIBACCEPTED = 1055;
    public static final int DTWAIN_TN_PROCESSDIBFINALACCEPTED = 1056;
    public static final int DTWAIN_TN_DEVICEEVENT = 1100;
    public static final int DTWAIN_TN_TWAINPAGECANCELLED = 1105;
    public static final int DTWAIN_TN_TWAINPAGEFAILED = 1106;
    public static final int DTWAIN_TN_APPUPDATEDDIB = 1107;
    public static final int DTWAIN_TN_FILEPAGESAVING = 1110;
    public static final int DTWAIN_TN_EOJBEGINFILESAVE = 1112;
    public static final int DTWAIN_TN_EOJENDFILESAVE = 1113;
    public static final int DTWAIN_TN_CROPFAILED = 1120;
    public static final int DTWAIN_TN_PROCESSEDDIBFINAL = 1121;
    public static final int DTWAIN_TN_BLANKPAGEDETECTED1 = 1130;
    public static final int DTWAIN_TN_BLANKPAGEDETECTED2 = 1131;
    public static final int DTWAIN_TN_BLANKPAGEDETECTED3 = 1132;
    public static final int DTWAIN_TN_BLANKPAGEDISCARDED1 = 1133;
    public static final int DTWAIN_TN_BLANKPAGEDISCARDED2 = 1134;
    public static final int DTWAIN_TN_OCRTEXTRETRIEVED = 1140;
    public static final int DTWAIN_TN_QUERYOCRTEXT = 1141;
    public static final int DTWAIN_TN_PDFOCRREADY = 1142;
    public static final int DTWAIN_TN_PDFOCRDONE = 1143;
    public static final int DTWAIN_TN_PDFOCRERROR = 1144;
    public static final int DTWAIN_TN_SETCALLBACKINIT = 1150;
    public static final int DTWAIN_TN_SETCALLBACK64INIT = 1151;
    public static final int DTWAIN_PDFOCR_CLEANTEXT1 = 1;
    public static final int DTWAIN_PDFOCR_CLEANTEXT2 = 2;
    public static final int DTWAIN_MODAL = 0;
    public static final int DTWAIN_MODELESS = 1;
    public static final int DTWAIN_UIModeCLOSE = 0;
    public static final int DTWAIN_UIModeOPEN = 1;
    public static final int DTWAIN_REOPEN_SOURCE = 2;
    public static final int DTWAIN_ROUNDNEAREST = 0;
    public static final int DTWAIN_ROUNDUP = 1;
    public static final int DTWAIN_ROUNDDOWN = 2;
    public static final double DTWAIN_FLOATDELTA = (+1.0e-8);
    public static final int DTWAIN_OR_ROT0 = 0;
    public static final int DTWAIN_OR_ROT90 = 1;
    public static final int DTWAIN_OR_ROT180 = 2;
    public static final int DTWAIN_OR_ROT270 = 3;
    public static final int DTWAIN_OR_PORTRAIT = DTWAIN_OR_ROT0;
    public static final int DTWAIN_OR_LANDSCAPE = DTWAIN_OR_ROT270;
    public static final int DTWAIN_OR_ANYROTATION = (-1);
    public static final int DTWAIN_CO_GET = 0x0001;
    public static final int DTWAIN_CO_SET = 0x0002;
    public static final int DTWAIN_CO_GETDEFAULT = 0x0004;
    public static final int DTWAIN_CO_GETCURRENT = 0x0008;
    public static final int DTWAIN_CO_RESET = 0x0010;
    public static final int DTWAIN_CO_SETCONSTRAINT = 0x0020;
    public static final int DTWAIN_CO_CONSTRAINABLE = 0x0040;
    public static final int DTWAIN_CO_GETHELP = 0x0100;
    public static final int DTWAIN_CO_GETLABEL = 0x0200;
    public static final int DTWAIN_CO_GETLABELENUM = 0x0400;
    public static final int DTWAIN_CNTYAFGHANISTAN = 1001;
    public static final int DTWAIN_CNTYALGERIA = 213;
    public static final int DTWAIN_CNTYAMERICANSAMOA = 684;
    public static final int DTWAIN_CNTYANDORRA = 033;
    public static final int DTWAIN_CNTYANGOLA = 1002;
    public static final int DTWAIN_CNTYANGUILLA = 8090;
    public static final int DTWAIN_CNTYANTIGUA = 8091;
    public static final int DTWAIN_CNTYARGENTINA = 54;
    public static final int DTWAIN_CNTYARUBA = 297;
    public static final int DTWAIN_CNTYASCENSIONI = 247;
    public static final int DTWAIN_CNTYAUSTRALIA = 61;
    public static final int DTWAIN_CNTYAUSTRIA = 43;
    public static final int DTWAIN_CNTYBAHAMAS = 8092;
    public static final int DTWAIN_CNTYBAHRAIN = 973;
    public static final int DTWAIN_CNTYBANGLADESH = 880;
    public static final int DTWAIN_CNTYBARBADOS = 8093;
    public static final int DTWAIN_CNTYBELGIUM = 32;
    public static final int DTWAIN_CNTYBELIZE = 501;
    public static final int DTWAIN_CNTYBENIN = 229;
    public static final int DTWAIN_CNTYBERMUDA = 8094;
    public static final int DTWAIN_CNTYBHUTAN = 1003;
    public static final int DTWAIN_CNTYBOLIVIA = 591;
    public static final int DTWAIN_CNTYBOTSWANA = 267;
    public static final int DTWAIN_CNTYBRITAIN = 6;
    public static final int DTWAIN_CNTYBRITVIRGINIS = 8095;
    public static final int DTWAIN_CNTYBRAZIL = 55;
    public static final int DTWAIN_CNTYBRUNEI = 673;
    public static final int DTWAIN_CNTYBULGARIA = 359;
    public static final int DTWAIN_CNTYBURKINAFASO = 1004;
    public static final int DTWAIN_CNTYBURMA = 1005;
    public static final int DTWAIN_CNTYBURUNDI = 1006;
    public static final int DTWAIN_CNTYCAMAROON = 237;
    public static final int DTWAIN_CNTYCANADA = 2;
    public static final int DTWAIN_CNTYCAPEVERDEIS = 238;
    public static final int DTWAIN_CNTYCAYMANIS = 8096;
    public static final int DTWAIN_CNTYCENTRALAFREP = 1007;
    public static final int DTWAIN_CNTYCHAD = 1008;
    public static final int DTWAIN_CNTYCHILE = 56;
    public static final int DTWAIN_CNTYCHINA = 86;
    public static final int DTWAIN_CNTYCHRISTMASIS = 1009;
    public static final int DTWAIN_CNTYCOCOSIS = 1009;
    public static final int DTWAIN_CNTYCOLOMBIA = 57;
    public static final int DTWAIN_CNTYCOMOROS = 1010;
    public static final int DTWAIN_CNTYCONGO = 1011;
    public static final int DTWAIN_CNTYCOOKIS = 1012;
    public static final int DTWAIN_CNTYCOSTARICA = 506;
    public static final int DTWAIN_CNTYCUBA = 005;
    public static final int DTWAIN_CNTYCYPRUS = 357;
    public static final int DTWAIN_CNTYCZECHOSLOVAKIA = 42;
    public static final int DTWAIN_CNTYDENMARK = 45;
    public static final int DTWAIN_CNTYDJIBOUTI = 1013;
    public static final int DTWAIN_CNTYDOMINICA = 8097;
    public static final int DTWAIN_CNTYDOMINCANREP = 8098;
    public static final int DTWAIN_CNTYEASTERIS = 1014;
    public static final int DTWAIN_CNTYECUADOR = 593;
    public static final int DTWAIN_CNTYEGYPT = 20;
    public static final int DTWAIN_CNTYELSALVADOR = 503;
    public static final int DTWAIN_CNTYEQGUINEA = 1015;
    public static final int DTWAIN_CNTYETHIOPIA = 251;
    public static final int DTWAIN_CNTYFALKLANDIS = 1016;
    public static final int DTWAIN_CNTYFAEROEIS = 298;
    public static final int DTWAIN_CNTYFIJIISLANDS = 679;
    public static final int DTWAIN_CNTYFINLAND = 358;
    public static final int DTWAIN_CNTYFRANCE = 33;
    public static final int DTWAIN_CNTYFRANTILLES = 596;
    public static final int DTWAIN_CNTYFRGUIANA = 594;
    public static final int DTWAIN_CNTYFRPOLYNEISA = 689;
    public static final int DTWAIN_CNTYFUTANAIS = 1043;
    public static final int DTWAIN_CNTYGABON = 241;
    public static final int DTWAIN_CNTYGAMBIA = 220;
    public static final int DTWAIN_CNTYGERMANY = 49;
    public static final int DTWAIN_CNTYGHANA = 233;
    public static final int DTWAIN_CNTYGIBRALTER = 350;
    public static final int DTWAIN_CNTYGREECE = 30;
    public static final int DTWAIN_CNTYGREENLAND = 299;
    public static final int DTWAIN_CNTYGRENADA = 8099;
    public static final int DTWAIN_CNTYGRENEDINES = 8015;
    public static final int DTWAIN_CNTYGUADELOUPE = 590;
    public static final int DTWAIN_CNTYGUAM = 671;
    public static final int DTWAIN_CNTYGUANTANAMOBAY = 5399;
    public static final int DTWAIN_CNTYGUATEMALA = 502;
    public static final int DTWAIN_CNTYGUINEA = 224;
    public static final int DTWAIN_CNTYGUINEABISSAU = 1017;
    public static final int DTWAIN_CNTYGUYANA = 592;
    public static final int DTWAIN_CNTYHAITI = 509;
    public static final int DTWAIN_CNTYHONDURAS = 504;
    public static final int DTWAIN_CNTYHONGKONG = 852;
    public static final int DTWAIN_CNTYHUNGARY = 36;
    public static final int DTWAIN_CNTYICELAND = 354;
    public static final int DTWAIN_CNTYINDIA = 91;
    public static final int DTWAIN_CNTYINDONESIA = 62;
    public static final int DTWAIN_CNTYIRAN = 98;
    public static final int DTWAIN_CNTYIRAQ = 964;
    public static final int DTWAIN_CNTYIRELAND = 353;
    public static final int DTWAIN_CNTYISRAEL = 972;
    public static final int DTWAIN_CNTYITALY = 39;
    public static final int DTWAIN_CNTYIVORYCOAST = 225;
    public static final int DTWAIN_CNTYJAMAICA = 8010;
    public static final int DTWAIN_CNTYJAPAN = 81;
    public static final int DTWAIN_CNTYJORDAN = 962;
    public static final int DTWAIN_CNTYKENYA = 254;
    public static final int DTWAIN_CNTYKIRIBATI = 1018;
    public static final int DTWAIN_CNTYKOREA = 82;
    public static final int DTWAIN_CNTYKUWAIT = 965;
    public static final int DTWAIN_CNTYLAOS = 1019;
    public static final int DTWAIN_CNTYLEBANON = 1020;
    public static final int DTWAIN_CNTYLIBERIA = 231;
    public static final int DTWAIN_CNTYLIBYA = 218;
    public static final int DTWAIN_CNTYLIECHTENSTEIN = 41;
    public static final int DTWAIN_CNTYLUXENBOURG = 352;
    public static final int DTWAIN_CNTYMACAO = 853;
    public static final int DTWAIN_CNTYMADAGASCAR = 1021;
    public static final int DTWAIN_CNTYMALAWI = 265;
    public static final int DTWAIN_CNTYMALAYSIA = 60;
    public static final int DTWAIN_CNTYMALDIVES = 960;
    public static final int DTWAIN_CNTYMALI = 1022;
    public static final int DTWAIN_CNTYMALTA = 356;
    public static final int DTWAIN_CNTYMARSHALLIS = 692;
    public static final int DTWAIN_CNTYMAURITANIA = 1023;
    public static final int DTWAIN_CNTYMAURITIUS = 230;
    public static final int DTWAIN_CNTYMEXICO = 3;
    public static final int DTWAIN_CNTYMICRONESIA = 691;
    public static final int DTWAIN_CNTYMIQUELON = 508;
    public static final int DTWAIN_CNTYMONACO = 33;
    public static final int DTWAIN_CNTYMONGOLIA = 1024;
    public static final int DTWAIN_CNTYMONTSERRAT = 8011;
    public static final int DTWAIN_CNTYMOROCCO = 212;
    public static final int DTWAIN_CNTYMOZAMBIQUE = 1025;
    public static final int DTWAIN_CNTYNAMIBIA = 264;
    public static final int DTWAIN_CNTYNAURU = 1026;
    public static final int DTWAIN_CNTYNEPAL = 977;
    public static final int DTWAIN_CNTYNETHERLANDS = 31;
    public static final int DTWAIN_CNTYNETHANTILLES = 599;
    public static final int DTWAIN_CNTYNEVIS = 8012;
    public static final int DTWAIN_CNTYNEWCALEDONIA = 687;
    public static final int DTWAIN_CNTYNEWZEALAND = 64;
    public static final int DTWAIN_CNTYNICARAGUA = 505;
    public static final int DTWAIN_CNTYNIGER = 227;
    public static final int DTWAIN_CNTYNIGERIA = 234;
    public static final int DTWAIN_CNTYNIUE = 1027;
    public static final int DTWAIN_CNTYNORFOLKI = 1028;
    public static final int DTWAIN_CNTYNORWAY = 47;
    public static final int DTWAIN_CNTYOMAN = 968;
    public static final int DTWAIN_CNTYPAKISTAN = 92;
    public static final int DTWAIN_CNTYPALAU = 1029;
    public static final int DTWAIN_CNTYPANAMA = 507;
    public static final int DTWAIN_CNTYPARAGUAY = 595;
    public static final int DTWAIN_CNTYPERU = 51;
    public static final int DTWAIN_CNTYPHILLIPPINES = 63;
    public static final int DTWAIN_CNTYPITCAIRNIS = 1030;
    public static final int DTWAIN_CNTYPNEWGUINEA = 675;
    public static final int DTWAIN_CNTYPOLAND = 48;
    public static final int DTWAIN_CNTYPORTUGAL = 351;
    public static final int DTWAIN_CNTYQATAR = 974;
    public static final int DTWAIN_CNTYREUNIONI = 1031;
    public static final int DTWAIN_CNTYROMANIA = 40;
    public static final int DTWAIN_CNTYRWANDA = 250;
    public static final int DTWAIN_CNTYSAIPAN = 670;
    public static final int DTWAIN_CNTYSANMARINO = 39;
    public static final int DTWAIN_CNTYSAOTOME = 1033;
    public static final int DTWAIN_CNTYSAUDIARABIA = 966;
    public static final int DTWAIN_CNTYSENEGAL = 221;
    public static final int DTWAIN_CNTYSEYCHELLESIS = 1034;
    public static final int DTWAIN_CNTYSIERRALEONE = 1035;
    public static final int DTWAIN_CNTYSINGAPORE = 65;
    public static final int DTWAIN_CNTYSOLOMONIS = 1036;
    public static final int DTWAIN_CNTYSOMALI = 1037;
    public static final int DTWAIN_CNTYSOUTHAFRICA = 27;
    public static final int DTWAIN_CNTYSPAIN = 34;
    public static final int DTWAIN_CNTYSRILANKA = 94;
    public static final int DTWAIN_CNTYSTHELENA = 1032;
    public static final int DTWAIN_CNTYSTKITTS = 8013;
    public static final int DTWAIN_CNTYSTLUCIA = 8014;
    public static final int DTWAIN_CNTYSTPIERRE = 508;
    public static final int DTWAIN_CNTYSTVINCENT = 8015;
    public static final int DTWAIN_CNTYSUDAN = 1038;
    public static final int DTWAIN_CNTYSURINAME = 597;
    public static final int DTWAIN_CNTYSWAZILAND = 268;
    public static final int DTWAIN_CNTYSWEDEN = 46;
    public static final int DTWAIN_CNTYSWITZERLAND = 41;
    public static final int DTWAIN_CNTYSYRIA = 1039;
    public static final int DTWAIN_CNTYTAIWAN = 886;
    public static final int DTWAIN_CNTYTANZANIA = 255;
    public static final int DTWAIN_CNTYTHAILAND = 66;
    public static final int DTWAIN_CNTYTOBAGO = 8016;
    public static final int DTWAIN_CNTYTOGO = 228;
    public static final int DTWAIN_CNTYTONGAIS = 676;
    public static final int DTWAIN_CNTYTRINIDAD = 8016;
    public static final int DTWAIN_CNTYTUNISIA = 216;
    public static final int DTWAIN_CNTYTURKEY = 90;
    public static final int DTWAIN_CNTYTURKSCAICOS = 8017;
    public static final int DTWAIN_CNTYTUVALU = 1040;
    public static final int DTWAIN_CNTYUGANDA = 256;
    public static final int DTWAIN_CNTYUSSR = 7;
    public static final int DTWAIN_CNTYUAEMIRATES = 971;
    public static final int DTWAIN_CNTYUNITEDKINGDOM = 44;
    public static final int DTWAIN_CNTYUSA = 1;
    public static final int DTWAIN_CNTYURUGUAY = 598;
    public static final int DTWAIN_CNTYVANUATU = 1041;
    public static final int DTWAIN_CNTYVATICANCITY = 39;
    public static final int DTWAIN_CNTYVENEZUELA = 58;
    public static final int DTWAIN_CNTYWAKE = 1042;
    public static final int DTWAIN_CNTYWALLISIS = 1043;
    public static final int DTWAIN_CNTYWESTERNSAHARA = 1044;
    public static final int DTWAIN_CNTYWESTERNSAMOA = 1045;
    public static final int DTWAIN_CNTYYEMEN = 1046;
    public static final int DTWAIN_CNTYYUGOSLAVIA = 38;
    public static final int DTWAIN_CNTYZAIRE = 243;
    public static final int DTWAIN_CNTYZAMBIA = 260;
    public static final int DTWAIN_CNTYZIMBABWE = 263;
    public static final int DTWAIN_LANGDANISH = 0;
    public static final int DTWAIN_LANGDUTCH = 1;
    public static final int DTWAIN_LANGINTERNATIONALENGLISH = 2;
    public static final int DTWAIN_LANGFRENCHCANADIAN = 3;
    public static final int DTWAIN_LANGFINNISH = 4;
    public static final int DTWAIN_LANGFRENCH = 5;
    public static final int DTWAIN_LANGGERMAN = 6;
    public static final int DTWAIN_LANGICELANDIC = 7;
    public static final int DTWAIN_LANGITALIAN = 8;
    public static final int DTWAIN_LANGNORWEGIAN = 9;
    public static final int DTWAIN_LANGPORTUGUESE = 10;
    public static final int DTWAIN_LANGSPANISH = 11;
    public static final int DTWAIN_LANGSWEDISH = 12;
    public static final int DTWAIN_LANGUSAENGLISH = 13;
    public static final int DTWAIN_NO_ERROR = (0);
    public static final int DTWAIN_ERR_FIRST = (-1000);
    public static final int DTWAIN_ERR_BAD_HANDLE = (-1001);
    public static final int DTWAIN_ERR_BAD_SOURCE = (-1002);
    public static final int DTWAIN_ERR_BAD_ARRAY = (-1003);
    public static final int DTWAIN_ERR_WRONG_ARRAY_TYPE = (-1004);
    public static final int DTWAIN_ERR_INDEX_BOUNDS = (-1005);
    public static final int DTWAIN_ERR_OUT_OF_MEMORY = (-1006);
    public static final int DTWAIN_ERR_NULL_WINDOW = (-1007);
    public static final int DTWAIN_ERR_BAD_PIXTYPE = (-1008);
    public static final int DTWAIN_ERR_BAD_CONTAINER = (-1009);
    public static final int DTWAIN_ERR_NO_SESSION = (-1010);
    public static final int DTWAIN_ERR_BAD_ACQUIRE_NUM = (-1011);
    public static final int DTWAIN_ERR_BAD_CAP = (-1012);
    public static final int DTWAIN_ERR_CAP_NO_SUPPORT = (-1013);
    public static final int DTWAIN_ERR_TWAIN = (-1014);
    public static final int DTWAIN_ERR_HOOK_FAILED = (-1015);
    public static final int DTWAIN_ERR_BAD_FILENAME = (-1016);
    public static final int DTWAIN_ERR_EMPTY_ARRAY = (-1017);
    public static final int DTWAIN_ERR_FILE_FORMAT = (-1018);
    public static final int DTWAIN_ERR_BAD_DIB_PAGE = (-1019);
    public static final int DTWAIN_ERR_SOURCE_ACQUIRING = (-1020);
    public static final int DTWAIN_ERR_INVALID_PARAM = (-1021);
    public static final int DTWAIN_ERR_INVALID_RANGE = (-1022);
    public static final int DTWAIN_ERR_UI_ERROR = (-1023);
    public static final int DTWAIN_ERR_BAD_UNIT = (-1024);
    public static final int DTWAIN_ERR_LANGDLL_NOT_FOUND = (-1025);
    public static final int DTWAIN_ERR_SOURCE_NOT_OPEN = (-1026);
    public static final int DTWAIN_ERR_DEVICEEVENT_NOT_SUPPORTED = (-1027);
    public static final int DTWAIN_ERR_UIONLY_NOT_SUPPORTED = (-1028);
    public static final int DTWAIN_ERR_UI_ALREADY_OPENED = (-1029);
    public static final int DTWAIN_ERR_CAPSET_NOSUPPORT = (-1030);
    public static final int DTWAIN_ERR_NO_FILE_XFER = (-1031);
    public static final int DTWAIN_ERR_INVALID_BITDEPTH = (-1032);
    public static final int DTWAIN_ERR_NO_CAPS_DEFINED = (-1033);
    public static final int DTWAIN_ERR_TILES_NOT_SUPPORTED = (-1034);
    public static final int DTWAIN_ERR_INVALID_DTWAIN_FRAME = (-1035);
    public static final int DTWAIN_ERR_LIMITED_VERSION = (-1036);
    public static final int DTWAIN_ERR_NO_FEEDER = (-1037);
    public static final int DTWAIN_ERR_NO_FEEDER_QUERY = (-1038);
    public static final int DTWAIN_ERR_EXCEPTION_ERROR = (-1039);
    public static final int DTWAIN_ERR_INVALID_STATE = (-1040);
    public static final int DTWAIN_ERR_UNSUPPORTED_EXTINFO = (-1041);
    public static final int DTWAIN_ERR_DLLRESOURCE_NOTFOUND = (-1042);
    public static final int DTWAIN_ERR_NOT_INITIALIZED = (-1043);
    public static final int DTWAIN_ERR_NO_SOURCES = (-1044);
    public static final int DTWAIN_ERR_TWAIN_NOT_INSTALLED = (-1045);
    public static final int DTWAIN_ERR_WRONG_THREAD = (-1046);
    public static final int DTWAIN_ERR_BAD_CAPTYPE = (-1047);
    public static final int DTWAIN_ERR_UNKNOWN_CAPDATATYPE = (-1048);
    public static final int DTWAIN_ERR_DEMO_NOFILETYPE = (-1049);
    public static final int DTWAIN_ERR_LAST_1 = DTWAIN_ERR_DEMO_NOFILETYPE;
    public static final int TWAIN_ERR_LOW_MEMORY = (-1100);
    public static final int TWAIN_ERR_FALSE_ALARM = (-1101);
    public static final int TWAIN_ERR_BUMMER = (-1102);
    public static final int TWAIN_ERR_NODATASOURCE = (-1103);
    public static final int TWAIN_ERR_MAXCONNECTIONS = (-1104);
    public static final int TWAIN_ERR_OPERATIONERROR = (-1105);
    public static final int TWAIN_ERR_BADCAPABILITY = (-1106);
    public static final int TWAIN_ERR_BADVALUE = (-1107);
    public static final int TWAIN_ERR_BADPROTOCOL = (-1108);
    public static final int TWAIN_ERR_SEQUENCEERROR = (-1109);
    public static final int TWAIN_ERR_BADDESTINATION = (-1110);
    public static final int TWAIN_ERR_CAPNOTSUPPORTED = (-1111);
    public static final int TWAIN_ERR_CAPBADOPERATION = (-1112);
    public static final int TWAIN_ERR_CAPSEQUENCEERROR = (-1113);
    public static final int TWAIN_ERR_FILEPROTECTEDERROR = (-1114);
    public static final int TWAIN_ERR_FILEEXISTERROR = (-1115);
    public static final int TWAIN_ERR_FILENOTFOUND = (-1116);
    public static final int TWAIN_ERR_DIRNOTEMPTY = (-1117);
    public static final int TWAIN_ERR_FEEDERJAMMED = (-1118);
    public static final int TWAIN_ERR_FEEDERMULTPAGES = (-1119);
    public static final int TWAIN_ERR_FEEDERWRITEERROR = (-1120);
    public static final int TWAIN_ERR_DEVICEOFFLINE = (-1121);
    public static final int TWAIN_ERR_NULL_CONTAINER = (-1122);
    public static final int TWAIN_ERR_INTERLOCK = (-1123);
    public static final int TWAIN_ERR_DAMAGEDCORNER = (-1124);
    public static final int TWAIN_ERR_FOCUSERROR = (-1125);
    public static final int TWAIN_ERR_DOCTOOLIGHT = (-1126);
    public static final int TWAIN_ERR_DOCTOODARK = (-1127);
    public static final int TWAIN_ERR_NOMEDIA = (-1128);
    public static final int DTWAIN_ERR_FILEXFERSTART = (-2000);
    public static final int DTWAIN_ERR_MEM = (-2001);
    public static final int DTWAIN_ERR_FILEOPEN = (-2002);
    public static final int DTWAIN_ERR_FILEREAD = (-2003);
    public static final int DTWAIN_ERR_FILEWRITE = (-2004);
    public static final int DTWAIN_ERR_BADPARAM = (-2005);
    public static final int DTWAIN_ERR_INVALIDBMP = (-2006);
    public static final int DTWAIN_ERR_BMPRLE = (-2007);
    public static final int DTWAIN_ERR_RESERVED1 = (-2008);
    public static final int DTWAIN_ERR_INVALIDJPG = (-2009);
    public static final int DTWAIN_ERR_DC = (-2010);
    public static final int DTWAIN_ERR_DIB = (-2011);
    public static final int DTWAIN_ERR_RESERVED2 = (-2012);
    public static final int DTWAIN_ERR_NORESOURCE = (-2013);
    public static final int DTWAIN_ERR_CALLBACKCANCEL = (-2014);
    public static final int DTWAIN_ERR_INVALIDPNG = (-2015);
    public static final int DTWAIN_ERR_PNGCREATE = (-2016);
    public static final int DTWAIN_ERR_INTERNAL = (-2017);
    public static final int DTWAIN_ERR_FONT = (-2018);
    public static final int DTWAIN_ERR_INTTIFF = (-2019);
    public static final int DTWAIN_ERR_INVALIDTIFF = (-2020);
    public static final int DTWAIN_ERR_NOTIFFLZW = (-2021);
    public static final int DTWAIN_ERR_INVALIDPCX = (-2022);
    public static final int DTWAIN_ERR_CREATEBMP = (-2023);
    public static final int DTWAIN_ERR_NOLINES = (-2024);
    public static final int DTWAIN_ERR_GETDIB = (-2025);
    public static final int DTWAIN_ERR_NODEVOP = (-2026);
    public static final int DTWAIN_ERR_INVALIDWMF = (-2027);
    public static final int DTWAIN_ERR_DEPTHMISMATCH = (-2028);
    public static final int DTWAIN_ERR_BITBLT = (-2029);
    public static final int DTWAIN_ERR_BUFTOOSMALL = (-2030);
    public static final int DTWAIN_ERR_TOOMANYCOLORS = (-2031);
    public static final int DTWAIN_ERR_INVALIDTGA = (-2032);
    public static final int DTWAIN_ERR_NOTGATHUMBNAIL = (-2033);
    public static final int DTWAIN_ERR_RESERVED3 = (-2034);
    public static final int DTWAIN_ERR_CREATEDIB = (-2035);
    public static final int DTWAIN_ERR_NOLZW = (-2036);
    public static final int DTWAIN_ERR_SELECTOBJ = (-2037);
    public static final int DTWAIN_ERR_BADMANAGER = (-2038);
    public static final int DTWAIN_ERR_OBSOLETE = (-2039);
    public static final int DTWAIN_ERR_CREATEDIBSECTION = (-2040);
    public static final int DTWAIN_ERR_SETWINMETAFILEBITS = (-2041);
    public static final int DTWAIN_ERR_GETWINMETAFILEBITS = (-2042);
    public static final int DTWAIN_ERR_PAXPWD = (-2043);
    public static final int DTWAIN_ERR_INVALIDPAX = (-2044);
    public static final int DTWAIN_ERR_NOSUPPORT = (-2045);
    public static final int DTWAIN_ERR_INVALIDPSD = (-2046);
    public static final int DTWAIN_ERR_PSDNOTSUPPORTED = (-2047);
    public static final int DTWAIN_ERR_DECRYPT = (-2048);
    public static final int DTWAIN_ERR_ENCRYPT = (-2049);
    public static final int DTWAIN_ERR_COMPRESSION = (-2050);
    public static final int DTWAIN_ERR_DECOMPRESSION = (-2051);
    public static final int DTWAIN_ERR_INVALIDTLA = (-2052);
    public static final int DTWAIN_ERR_INVALIDWBMP = (-2053);
    public static final int DTWAIN_ERR_NOTIFFTAG = (-2054);
    public static final int DTWAIN_ERR_NOLOCALSTORAGE = (-2055);
    public static final int DTWAIN_ERR_INVALIDEXIF = (-2056);
    public static final int DTWAIN_ERR_NOEXIFSTRING = (-2057);
    public static final int DTWAIN_ERR_TIFFDLL32NOTFOUND = (-2058);
    public static final int DTWAIN_ERR_TIFFDLL16NOTFOUND = (-2059);
    public static final int DTWAIN_ERR_PNGDLL16NOTFOUND = (-2060);
    public static final int DTWAIN_ERR_JPEGDLL16NOTFOUND = (-2061);
    public static final int DTWAIN_ERR_BADBITSPERPIXEL = (-2062);
    public static final int DTWAIN_ERR_TIFFDLL32INVALIDVER = (-2063);
    public static final int DTWAIN_ERR_PDFDLL32NOTFOUND = (-2064);
    public static final int DTWAIN_ERR_PDFDLL32INVALIDVER = (-2065);
    public static final int DTWAIN_ERR_JPEGDLL32NOTFOUND = (-2066);
    public static final int DTWAIN_ERR_JPEGDLL32INVALIDVER = (-2067);
    public static final int DTWAIN_ERR_PNGDLL32NOTFOUND = (-2068);
    public static final int DTWAIN_ERR_PNGDLL32INVALIDVER = (-2069);
    public static final int DTWAIN_ERR_J2KDLL32NOTFOUND = (-2070);
    public static final int DTWAIN_ERR_J2KDLL32INVALIDVER = (-2071);
    public static final int DTWAIN_ERR_MANDUPLEX_UNAVAILABLE = (-2072);
    public static final int DTWAIN_ERR_TIMEOUT = (-2073);
    public static final int DTWAIN_ERR_INVALIDICONFORMAT = (-2074);
    public static final int DTWAIN_ERR_TWAIN32DSMNOTFOUND = (-2075);
    public static final int DTWAIN_ERR_TWAINOPENSOURCEDSMNOTFOUND = (-2076);
    public static final int DTWAIN_TWAINSAVE_OK = (0);
    public static final int DTWAIN_ERR_TS_FIRST = (-2080);
    public static final int DTWAIN_ERR_TS_NOFILENAME = (-2081);
    public static final int DTWAIN_ERR_TS_NOTWAINSYS = (-2082);
    public static final int DTWAIN_ERR_TS_DEVICEFAILURE = (-2083);
    public static final int DTWAIN_ERR_TS_FILESAVEERROR = (-2084);
    public static final int DTWAIN_ERR_TS_COMMANDILLEGAL = (-2085);
    public static final int DTWAIN_ERR_TS_CANCELLED = (-2086);
    public static final int DTWAIN_ERR_TS_ACQUISITIONERROR = (-2087);
    public static final int DTWAIN_ERR_TS_INVALIDCOLORSPACE = (-2088);
    public static final int DTWAIN_ERR_TS_PDFNOTSUPPORTED = (-2089);
    public static final int DTWAIN_ERR_TS_NOTAVAILABLE = (-2090);
    public static final int DTWAIN_ERR_OCR_FIRST = (-2100);
    public static final int DTWAIN_ERR_OCR_INVALIDPAGENUM = (-2101);
    public static final int DTWAIN_ERR_OCR_INVALIDENGINE = (-2102);
    public static final int DTWAIN_ERR_OCR_NOTACTIVE = (-2103);
    public static final int DTWAIN_ERR_OCR_INVALIDFILETYPE = (-2104);
    public static final int DTWAIN_ERR_OCR_INVALIDPIXELTYPE = (-2105);
    public static final int DTWAIN_ERR_OCR_INVALIDBITDEPTH = (-2106);
    public static final int DTWAIN_ERR_OCR_RECOGNITIONERROR = (-2107);
    public static final int DTWAIN_ERR_OCR_LAST = (-2108);
    public static final int DTWAIN_ERR_LAST = DTWAIN_ERR_OCR_LAST;
    public static final int DTWAIN_DE_CHKAUTOCAPTURE = 1;
    public static final int DTWAIN_DE_CHKBATTERY = 2;
    public static final int DTWAIN_DE_CHKDEVICEONLINE = 4;
    public static final int DTWAIN_DE_CHKFLASH = 8;
    public static final int DTWAIN_DE_CHKPOWERSUPPLY = 16;
    public static final int DTWAIN_DE_CHKRESOLUTION = 32;
    public static final int DTWAIN_DE_DEVICEADDED = 64;
    public static final int DTWAIN_DE_DEVICEOFFLINE = 128;
    public static final int DTWAIN_DE_DEVICEREADY = 256;
    public static final int DTWAIN_DE_DEVICEREMOVED = 512;
    public static final int DTWAIN_DE_IMAGECAPTURED = 1024;
    public static final int DTWAIN_DE_IMAGEDELETED = 2048;
    public static final int DTWAIN_DE_PAPERDOUBLEFEED = 4096;
    public static final int DTWAIN_DE_PAPERJAM = 8192;
    public static final int DTWAIN_DE_LAMPFAILURE = 16384;
    public static final int DTWAIN_DE_POWERSAVE = 32768;
    public static final int DTWAIN_DE_POWERSAVENOTIFY = 65536;
    public static final int DTWAIN_DE_CUSTOMEVENTS = 0x8000;
    public static final int DTWAIN_GETDE_EVENT = 0;
    public static final int DTWAIN_GETDE_DEVNAME = 1;
    public static final int DTWAIN_GETDE_BATTERYMINUTES = 2;
    public static final int DTWAIN_GETDE_BATTERYPCT = 3;
    public static final int DTWAIN_GETDE_XRESOLUTION = 4;
    public static final int DTWAIN_GETDE_YRESOLUTION = 5;
    public static final int DTWAIN_GETDE_FLASHUSED = 6;
    public static final int DTWAIN_GETDE_AUTOCAPTURE = 7;
    public static final int DTWAIN_GETDE_TIMEBEFORECAPTURE = 8;
    public static final int DTWAIN_GETDE_TIMEBETWEENCAPTURES = 9;
    public static final int DTWAIN_GETDE_POWERSUPPLY = 10;
    public static final int DTWAIN_IMPRINTERTOPBEFORE = 1;
    public static final int DTWAIN_IMPRINTERTOPAFTER = 2;
    public static final int DTWAIN_IMPRINTERBOTTOMBEFORE = 4;
    public static final int DTWAIN_IMPRINTERBOTTOMAFTER = 8;
    public static final int DTWAIN_ENDORSERTOPBEFORE = 16;
    public static final int DTWAIN_ENDORSERTOPAFTER = 32;
    public static final int DTWAIN_ENDORSERBOTTOMBEFORE = 64;
    public static final int DTWAIN_ENDORSERBOTTOMAFTER = 128;
    public static final int DTWAIN_PM_SINGLESTRING = 0;
    public static final int DTWAIN_PM_MULTISTRING = 1;
    public static final int DTWAIN_PM_COMPOUNDSTRING = 2;
    public static final int DTWAIN_TWTY_INT8 = 0x0000;
    public static final int DTWAIN_TWTY_INT16 = 0x0001;
    public static final int DTWAIN_TWTY_INT32 = 0x0002;
    public static final int DTWAIN_TWTY_UINT8 = 0x0003;
    public static final int DTWAIN_TWTY_UINT16 = 0x0004;
    public static final int DTWAIN_TWTY_UINT32 = 0x0005;
    public static final int DTWAIN_TWTY_BOOL = 0x0006;
    public static final int DTWAIN_TWTY_FIX32 = 0x0007;
    public static final int DTWAIN_TWTY_FRAME = 0x0008;
    public static final int DTWAIN_TWTY_STR32 = 0x0009;
    public static final int DTWAIN_TWTY_STR64 = 0x000A;
    public static final int DTWAIN_TWTY_STR128 = 0x000B;
    public static final int DTWAIN_TWTY_STR255 = 0x000C;
    public static final int DTWAIN_TWTY_STR1024 = 0x000D;
    public static final int DTWAIN_TWTY_UNI512 = 0x000E;
    public static final int DTWAIN_EI_BARCODEX = 0x1200;
    public static final int DTWAIN_EI_BARCODEY = 0x1201;
    public static final int DTWAIN_EI_BARCODETEXT = 0x1202;
    public static final int DTWAIN_EI_BARCODETYPE = 0x1203;
    public static final int DTWAIN_EI_DESHADETOP = 0x1204;
    public static final int DTWAIN_EI_DESHADELEFT = 0x1205;
    public static final int DTWAIN_EI_DESHADEHEIGHT = 0x1206;
    public static final int DTWAIN_EI_DESHADEWIDTH = 0x1207;
    public static final int DTWAIN_EI_DESHADESIZE = 0x1208;
    public static final int DTWAIN_EI_SPECKLESREMOVED = 0x1209;
    public static final int DTWAIN_EI_HORZLINEXCOORD = 0x120A;
    public static final int DTWAIN_EI_HORZLINEYCOORD = 0x120B;
    public static final int DTWAIN_EI_HORZLINELENGTH = 0x120C;
    public static final int DTWAIN_EI_HORZLINETHICKNESS = 0x120D;
    public static final int DTWAIN_EI_VERTLINEXCOORD = 0x120E;
    public static final int DTWAIN_EI_VERTLINEYCOORD = 0x120F;
    public static final int DTWAIN_EI_VERTLINELENGTH = 0x1210;
    public static final int DTWAIN_EI_VERTLINETHICKNESS = 0x1211;
    public static final int DTWAIN_EI_PATCHCODE = 0x1212;
    public static final int DTWAIN_EI_ENDORSEDTEXT = 0x1213;
    public static final int DTWAIN_EI_FORMCONFIDENCE = 0x1214;
    public static final int DTWAIN_EI_FORMTEMPLATEMATCH = 0x1215;
    public static final int DTWAIN_EI_FORMTEMPLATEPAGEMATCH = 0x1216;
    public static final int DTWAIN_EI_FORMHORZDOCOFFSET = 0x1217;
    public static final int DTWAIN_EI_FORMVERTDOCOFFSET = 0x1218;
    public static final int DTWAIN_EI_BARCODECOUNT = 0x1219;
    public static final int DTWAIN_EI_BARCODECONFIDENCE = 0x121A;
    public static final int DTWAIN_EI_BARCODEROTATION = 0x121B;
    public static final int DTWAIN_EI_BARCODETEXTLENGTH = 0x121C;
    public static final int DTWAIN_EI_DESHADECOUNT = 0x121D;
    public static final int DTWAIN_EI_DESHADEBLACKCOUNTOLD = 0x121E;
    public static final int DTWAIN_EI_DESHADEBLACKCOUNTNEW = 0x121F;
    public static final int DTWAIN_EI_DESHADEBLACKRLMIN = 0x1220;
    public static final int DTWAIN_EI_DESHADEBLACKRLMAX = 0x1221;
    public static final int DTWAIN_EI_DESHADEWHITECOUNTOLD = 0x1222;
    public static final int DTWAIN_EI_DESHADEWHITECOUNTNEW = 0x1223;
    public static final int DTWAIN_EI_DESHADEWHITERLMIN = 0x1224;
    public static final int DTWAIN_EI_DESHADEWHITERLAVE = 0x1225;
    public static final int DTWAIN_EI_DESHADEWHITERLMAX = 0x1226;
    public static final int DTWAIN_EI_BLACKSPECKLESREMOVED = 0x1227;
    public static final int DTWAIN_EI_WHITESPECKLESREMOVED = 0x1228;
    public static final int DTWAIN_EI_HORZLINECOUNT = 0x1229;
    public static final int DTWAIN_EI_VERTLINECOUNT = 0x122A;
    public static final int DTWAIN_EI_DESKEWSTATUS = 0x122B;
    public static final int DTWAIN_EI_SKEWORIGINALANGLE = 0x122C;
    public static final int DTWAIN_EI_SKEWFINALANGLE = 0x122D;
    public static final int DTWAIN_EI_SKEWCONFIDENCE = 0x122E;
    public static final int DTWAIN_EI_SKEWWINDOWX1 = 0x122F;
    public static final int DTWAIN_EI_SKEWWINDOWY1 = 0x1230;
    public static final int DTWAIN_EI_SKEWWINDOWX2 = 0x1231;
    public static final int DTWAIN_EI_SKEWWINDOWY2 = 0x1232;
    public static final int DTWAIN_EI_SKEWWINDOWX3 = 0x1233;
    public static final int DTWAIN_EI_SKEWWINDOWY3 = 0x1234;
    public static final int DTWAIN_EI_SKEWWINDOWX4 = 0x1235;
    public static final int DTWAIN_EI_SKEWWINDOWY4 = 0x1236;
    public static final int DTWAIN_EI_BOOKNAME = 0x1238;
    public static final int DTWAIN_EI_CHAPTERNUMBER = 0x1239;
    public static final int DTWAIN_EI_DOCUMENTNUMBER = 0x123A;
    public static final int DTWAIN_EI_PAGENUMBER = 0x123B;
    public static final int DTWAIN_EI_CAMERA = 0x123C;
    public static final int DTWAIN_EI_FRAMENUMBER = 0x123D;
    public static final int DTWAIN_EI_FRAME = 0x123E;
    public static final int DTWAIN_EI_PIXELFLAVOR = 0x123F;
    public static final int DTWAIN_LOG_DECODE_SOURCE = 1;
    public static final int DTWAIN_LOG_DECODE_DEST = 2;
    public static final int DTWAIN_LOG_DECODE_TWMEMREF = 4;
    public static final int DTWAIN_LOG_DECODE_TWEVENT = 8;
    public static final int DTWAIN_LOG_USEFILE = 16;
    public static final int DTWAIN_LOG_CALLSTACK = 32;
    public static final int DTWAIN_LOG_USEWINDOW = 64;
    public static final int DTWAIN_LOG_SHOWEXCEPTIONS = 128;
    public static final int DTWAIN_LOG_ERRORMSGBOX = 256;
    public static final int DTWAIN_LOG_INITFAILURE = 512;
    public static final int DTWAIN_LOG_USEBUFFER = 1024;
    public static final int DTWAIN_LOG_FILEAPPEND = 2048;
    public static final int DTWAIN_LOG_DECODE_BITMAP = 4096;
    public static final int DTWAIN_LOG_NOCALLBACK = 8192;
    public static final int DTWAIN_LOG_WRITE = 16384;
    public static final int DTWAIN_LOG_USECRLF = 32768;
    public static final int DTWAIN_LOG_ALL = 0xFFFFF7FF;
    public static final int DTWAIN_LOG_ALL_APPEND = 0xFFFFFFFF;
    public static final int DTWAINGCD_RETURNHANDLE = 1;
    public static final int DTWAINGCD_COPYDATA = 2;
    public static final int DTWAIN_BYPOSITION = 0;
    public static final int DTWAIN_BYID = 1;
    public static final int DTWAINSCD_USEHANDLE = 1;
    public static final int DTWAINSCD_USEDATA = 2;
    public static final int DTWAIN_PAGEFAIL_RETRY = 1;
    public static final int DTWAIN_PAGEFAIL_TERMINATE = 2;
    public static final int DTWAIN_MAXRETRY_ATTEMPTS = 3;
    public static final int DTWAIN_RETRY_FOREVER = (-1);
    public static final int DTWAIN_PDF_NOSCALING = 128;
    public static final int DTWAIN_PDF_FITPAGE = 256;
    public static final int DTWAIN_PDF_VARIABLEPAGESIZE = 512;
    public static final int DTWAIN_PDF_CUSTOMSIZE = 1024;
    public static final int DTWAIN_PDF_USECOMPRESSION = 2048;
    public static final int DTWAIN_PDF_CUSTOMSCALE = 4096;
    public static final int DTWAIN_PDF_PIXELSPERMETERSIZE = 8192;
    public static final int DTWAIN_PDF_ALLOWPRINTING = 2052;
    public static final int DTWAIN_PDF_ALLOWMOD = 8;
    public static final int DTWAIN_PDF_ALLOWCOPY = 16;
    public static final int DTWAIN_PDF_ALLOWMODANNOTATIONS = 32;
    public static final int DTWAIN_PDF_ALLOWFILLIN = 256;
    public static final int DTWAIN_PDF_ALLOWEXTRACTION = 512;
    public static final int DTWAIN_PDF_ALLOWASSEMBLY = 1024;
    public static final int DTWAIN_PDF_ALLOWDEGRADEDPRINTING = 4;
    public static final int DTWAIN_PDF_PORTRAIT = 0;
    public static final int DTWAIN_PDF_LANDSCAPE = 1;
    public static final int DTWAIN_PS_REGULAR = 0;
    public static final int DTWAIN_PS_ENCAPSULATED = 1;
    public static final int DTWAIN_BP_AUTODISCARD_NONE = 0;
    public static final int DTWAIN_BP_AUTODISCARD_IMMEDIATE = 1;
    public static final int DTWAIN_BP_AUTODISCARD_AFTERPROCESS = 2;
    public static final int DTWAIN_BP_AUTODISCARD_ANY = 0xFFFF;
    public static final int DTWAIN_LP_REFLECTIVE = 0;
    public static final int DTWAIN_LP_TRANSMISSIVE = 1;
    public static final int DTWAIN_LS_RED = 0;
    public static final int DTWAIN_LS_GREEN = 1;
    public static final int DTWAIN_LS_BLUE = 2;
    public static final int DTWAIN_LS_NONE = 3;
    public static final int DTWAIN_LS_WHITE = 4;
    public static final int DTWAIN_LS_UV = 5;
    public static final int DTWAIN_LS_IR = 6;
    public static final int DTWAIN_DLG_SORTNAMES = 1;
    public static final int DTWAIN_DLG_CENTER = 2;
    public static final int DTWAIN_DLG_CENTER_SCREEN = 4;
    public static final int DTWAIN_DLG_USETEMPLATE = 8;
    public static final int DTWAIN_DLG_CLEAR_PARAMS = 16;
    public static final int DTWAIN_DLG_HORIZONTALSCROLL = 32;
    public static final int DTWAIN_RES_ENGLISH = 0;
    public static final int DTWAIN_RES_FRENCH = 1;
    public static final int DTWAIN_RES_SPANISH = 2;
    public static final int DTWAIN_RES_DUTCH = 3;
    public static final int DTWAIN_RES_GERMAN = 4;
    public static final int DTWAIN_RES_ITALIAN = 5;
    public static final int DTWAIN_AL_ALARM = 0;
    public static final int DTWAIN_AL_FEEDERERROR = 1;
    public static final int DTWAIN_AL_FEEDERWARNING = 2;
    public static final int DTWAIN_AL_BARCODE = 3;
    public static final int DTWAIN_AL_DOUBLEFEED = 4;
    public static final int DTWAIN_AL_JAM = 5;
    public static final int DTWAIN_AL_PATCHCODE = 6;
    public static final int DTWAIN_AL_POWER = 7;
    public static final int DTWAIN_AL_SKEW = 8;
    public static final int DTWAIN_FT_CAMERA = 0;
    public static final int DTWAIN_FT_CAMERATOP = 1;
    public static final int DTWAIN_FT_CAMERABOTTOM = 2;
    public static final int DTWAIN_FT_CAMERAPREVIEW = 3;
    public static final int DTWAIN_FT_DOMAIN = 4;
    public static final int DTWAIN_FT_HOST = 5;
    public static final int DTWAIN_FT_DIRECTORY = 6;
    public static final int DTWAIN_FT_IMAGE = 7;
    public static final int DTWAIN_FT_UNKNOWN = 8;
    public static final int DTWAIN_NF_NONE = 0;
    public static final int DTWAIN_NF_AUTO = 1;
    public static final int DTWAIN_NF_LONEPIXEL = 2;
    public static final int DTWAIN_NF_MAJORITYRULE = 3;
    public static final int DTWAIN_CB_AUTO = 0;
    public static final int DTWAIN_CB_CLEAR = 1;
    public static final int DTWAIN_CB_NOCLEAR = 2;
    public static final int DTWAIN_FA_NONE = 0;
    public static final int DTWAIN_FA_LEFT = 1;
    public static final int DTWAIN_FA_CENTER = 2;
    public static final int DTWAIN_FA_RIGHT = 3;
    public static final int DTWAIN_PF_CHOCOLATE = 0;
    public static final int DTWAIN_PF_VANILLA = 1;
    public static final int DTWAIN_FO_FIRSTPAGEFIRST = 0;
    public static final int DTWAIN_FO_LASTPAGEFIRST = 1;
    public static final int DTWAIN_INCREMENT_STATIC = 0;
    public static final int DTWAIN_INCREMENT_DYNAMIC = 1;
    public static final int DTWAIN_INCREMENT_DEFAULT = -1;
    public static final int DTWAIN_MANDUP_FACEUPTOPPAGE = 0;
    public static final int DTWAIN_MANDUP_FACEUPBOTTOMPAGE = 1;
    public static final int DTWAIN_MANDUP_FACEDOWNTOPPAGE = 2;
    public static final int DTWAIN_MANDUP_FACEDOWNBOTTOMPAGE = 3;
    public static final int DTWAIN_FILESAVE_DEFAULT = 0;
    public static final int DTWAIN_FILESAVE_UICLOSE = 1;
    public static final int DTWAIN_FILESAVE_SOURCECLOSE = 2;
    public static final int DTWAIN_FILESAVE_ENDACQUIRE = 3;
    public static final int DTWAIN_FILESAVE_MANUALSAVE = 4;
    public static final int DTWAIN_FILESAVE_SAVEINCOMPLETE = 128;
    public static final int DTWAIN_MANDUP_SCANOK = 1;
    public static final int DTWAIN_MANDUP_SIDE1RESCAN = 2;
    public static final int DTWAIN_MANDUP_SIDE2RESCAN = 3;
    public static final int DTWAIN_MANDUP_RESCANALL = 4;
    public static final int DTWAIN_MANDUP_PAGEMISSING = 5;
    public static final int DTWAIN_DEMODLL_VERSION = 0x00000001;
    public static final int DTWAIN_UNLICENSED_VERSION = 0x00000002;
    public static final int DTWAIN_COMPANY_VERSION = 0x00000004;
    public static final int DTWAIN_GENERAL_VERSION = 0x00000008;
    public static final int DTWAIN_DEVELOP_VERSION = 0x00000010;
    public static final int DTWAIN_JAVA_VERSION = 0x00000020;
    public static final int DTWAIN_TOOLKIT_VERSION = 0x00000040;
    public static final int DTWAIN_LIMITEDDLL_VERSION = 0x00000080;
    public static final int DTWAIN_STATICLIB_VERSION = 0x00000100;
    public static final int DTWAIN_STATICLIB_STDCALL_VERSION = 0x00000200;
    public static final int DTWAIN_PDF_VERSION = 0x00010000;
    public static final int DTWAIN_TWAINSAVE_VERSION = 0x00020000;
    public static final int DTWAIN_OCR_VERSION = 0x00040000;
    public static final int DTWAIN_BARCODE_VERSION = 0x00080000;
    public static final int DTWAIN_ACTIVEX_VERSION = 0x00100000;
    public static final int DTWAIN_32BIT_VERSION = 0x00200000;
    public static final int DTWAIN_64BIT_VERSION = 0x00400000;
    public static final int DTWAIN_UNICODE_VERSION = 0x00800000;
    public static final int DTWAINOCR_RETURNHANDLE = 1;
    public static final int DTWAINOCR_COPYDATA = 2;
    public static final int DTWAIN_OCRINFO_CHAR = 0;
    public static final int DTWAIN_OCRINFO_CHARXPOS = 1;
    public static final int DTWAIN_OCRINFO_CHARYPOS = 2;
    public static final int DTWAIN_OCRINFO_CHARXWIDTH = 3;
    public static final int DTWAIN_OCRINFO_CHARYWIDTH = 4;
    public static final int DTWAIN_OCRINFO_CHARCONFIDENCE = 5;
    public static final int DTWAIN_OCRINFO_PAGENUM = 6;
    public static final int DTWAIN_OCRINFO_OCRENGINE = 7;
    public static final int DTWAIN_OCRINFO_TEXTLENGTH = 8;
    public static final int DTWAIN_PDFPAGETYPE_COLOR = 0;
    public static final int DTWAIN_PDFPAGETYPE_BW = 1;
    public static final int DTWAIN_TWAINDSM_LEGACY = 1;
    public static final int DTWAIN_TWAINDSM_VERSION2 = 2;
    public static final int DTWAIN_TWAINDSM_LATESTVERSION = 4;
    public static final int DTWAIN_TWAINDSMSEARCH_NOTFOUND = (-1);
    public static final int DTWAIN_TWAINDSMSEARCH_WSO = 0;
    public static final int DTWAIN_TWAINDSMSEARCH_WOS = 1;
    public static final int DTWAIN_TWAINDSMSEARCH_SWO = 2;
    public static final int DTWAIN_TWAINDSMSEARCH_SOW = 3;
    public static final int DTWAIN_TWAINDSMSEARCH_OWS = 4;
    public static final int DTWAIN_TWAINDSMSEARCH_OSW = 5;
    public static final int DTWAIN_TWAINDSMSEARCH_W = 6;
    public static final int DTWAIN_TWAINDSMSEARCH_S = 7;
    public static final int DTWAIN_TWAINDSMSEARCH_O = 8;
    public static final int DTWAIN_TWAINDSMSEARCH_WS = 9;
    public static final int DTWAIN_TWAINDSMSEARCH_WO = 10;
    public static final int DTWAIN_TWAINDSMSEARCH_SW = 11;
    public static final int DTWAIN_TWAINDSMSEARCH_SO = 12;
    public static final int DTWAIN_TWAINDSMSEARCH_OW = 13;
    public static final int DTWAIN_TWAINDSMSEARCH_OS = 14;
    public static final int DTWAIN_PDFPOLARITY_POSITIVE = 1;
    public static final int DTWAIN_PDFPOLARITY_NEGATIVE = 2;
    public static final int DTWAIN_TWPF_NORMAL = 0;
    public static final int DTWAIN_TWPF_BOLD = 1;
    public static final int DTWAIN_TWPF_ITALIC = 2;
    public static final int DTWAIN_TWPF_LARGESIZE = 3;
    public static final int DTWAIN_TWPF_SMALLSIZE = 4;
    public static final int DTWAIN_TWCT_PAGE = 0;
    public static final int DTWAIN_TWCT_PATCH1 = 1;
    public static final int DTWAIN_TWCT_PATCH2 = 2;
    public static final int DTWAIN_TWCT_PATCH3 = 3;
    public static final int DTWAIN_TWCT_PATCH4 = 4;
    public static final int DTWAIN_TWCT_PATCHT = 5;
    public static final int DTWAIN_TWCT_PATCH6 = 6;

    public static final int DTWAIN_CV_CAPCUSTOMBASE = 0x8000;
    public static final int DTWAIN_CV_CAPXFERCOUNT = 0x0001;
    public static final int DTWAIN_CV_ICAPCOMPRESSION = 0x0100;
    public static final int DTWAIN_CV_ICAPPIXELTYPE = 0x0101;
    public static final int DTWAIN_CV_ICAPUNITS = 0x0102;
    public static final int DTWAIN_CV_ICAPXFERMECH = 0x0103;
    public static final int DTWAIN_CV_CAPAUTHOR = 0x1000;
    public static final int DTWAIN_CV_CAPCAPTION = 0x1001;
    public static final int DTWAIN_CV_CAPFEEDERENABLED = 0x1002;
    public static final int DTWAIN_CV_CAPFEEDERLOADED = 0x1003;
    public static final int DTWAIN_CV_CAPTIMEDATE = 0x1004;
    public static final int DTWAIN_CV_CAPSUPPORTEDCAPS = 0x1005;
    public static final int DTWAIN_CV_CAPEXTENDEDCAPS = 0x1006;
    public static final int DTWAIN_CV_CAPAUTOFEED = 0x1007;
    public static final int DTWAIN_CV_CAPCLEARPAGE = 0x1008;
    public static final int DTWAIN_CV_CAPFEEDPAGE = 0x1009;
    public static final int DTWAIN_CV_CAPREWINDPAGE = 0x100a;
    public static final int DTWAIN_CV_CAPINDICATORS = 0x100b;
    public static final int DTWAIN_CV_CAPSUPPORTEDCAPSEXT = 0x100c;
    public static final int DTWAIN_CV_CAPPAPERDETECTABLE = 0x100d;
    public static final int DTWAIN_CV_CAPUICONTROLLABLE = 0x100e;
    public static final int DTWAIN_CV_CAPDEVICEONLINE = 0x100f;
    public static final int DTWAIN_CV_CAPAUTOSCAN = 0x1010;
    public static final int DTWAIN_CV_CAPTHUMBNAILSENABLED = 0x1011;
    public static final int DTWAIN_CV_CAPDUPLEX = 0x1012;
    public static final int DTWAIN_CV_CAPDUPLEXENABLED = 0x1013;
    public static final int DTWAIN_CV_CAPENABLEDSUIONLY = 0x1014;
    public static final int DTWAIN_CV_CAPCUSTOMDSDATA = 0x1015;
    public static final int DTWAIN_CV_CAPENDORSER = 0x1016;
    public static final int DTWAIN_CV_CAPJOBCONTROL = 0x1017;
    public static final int DTWAIN_CV_CAPALARMS = 0x1018;
    public static final int DTWAIN_CV_CAPALARMVOLUME = 0x1019;
    public static final int DTWAIN_CV_CAPAUTOMATICCAPTURE = 0x101a;
    public static final int DTWAIN_CV_CAPTIMEBEFOREFIRSTCAPTURE = 0x101b;
    public static final int DTWAIN_CV_CAPTIMEBETWEENCAPTURES = 0x101c;
    public static final int DTWAIN_CV_CAPCLEARBUFFERS = 0x101d;
    public static final int DTWAIN_CV_CAPMAXBATCHBUFFERS = 0x101e;
    public static final int DTWAIN_CV_CAPDEVICETIMEDATE = 0x101f;
    public static final int DTWAIN_CV_CAPPOWERSUPPLY = 0x1020;
    public static final int DTWAIN_CV_CAPCAMERAPREVIEWUI = 0x1021;
    public static final int DTWAIN_CV_CAPDEVICEEVENT = 0x1022;
    public static final int DTWAIN_CV_CAPPAGEMULTIPLEACQUIRE = 0x1023;
    public static final int DTWAIN_CV_CAPSERIALNUMBER = 0x1024;
    public static final int DTWAIN_CV_CAPFILESYSTEM = 0x1025;
    public static final int DTWAIN_CV_CAPPRINTER = 0x1026;
    public static final int DTWAIN_CV_CAPPRINTERENABLED = 0x1027;
    public static final int DTWAIN_CV_CAPPRINTERINDEX = 0x1028;
    public static final int DTWAIN_CV_CAPPRINTERMODE = 0x1029;
    public static final int DTWAIN_CV_CAPPRINTERSTRING = 0x102a;
    public static final int DTWAIN_CV_CAPPRINTERSUFFIX = 0x102b;
    public static final int DTWAIN_CV_CAPLANGUAGE = 0x102c;
    public static final int DTWAIN_CV_CAPFEEDERALIGNMENT = 0x102d;
    public static final int DTWAIN_CV_CAPFEEDERORDER = 0x102e;
    public static final int DTWAIN_CV_CAPPAPERBINDING = 0x102f;
    public static final int DTWAIN_CV_CAPREACQUIREALLOWED = 0x1030;
    public static final int DTWAIN_CV_CAPPASSTHRU = 0x1031;
    public static final int DTWAIN_CV_CAPBATTERYMINUTES = 0x1032;
    public static final int DTWAIN_CV_CAPBATTERYPERCENTAGE = 0x1033;
    public static final int DTWAIN_CV_CAPPOWERDOWNTIME = 0x1034;
    public static final int DTWAIN_CV_CAPSEGMENTED = 0x1035;
    public static final int DTWAIN_CV_CAPCAMERAENABLED = 0x1036;
    public static final int DTWAIN_CV_CAPCAMERAORDER = 0x1037;
    public static final int DTWAIN_CV_CAPMICRENABLED = 0x1038;
    public static final int DTWAIN_CV_CAPFEEDERPREP = 0x1039;
    public static final int DTWAIN_CV_CAPFEEDERPOCKET = 0x103a;
    public static final int DTWAIN_CV_CAPAUTOMATICSENSEMEDIUM = 0x103b;
    public static final int DTWAIN_CV_CAPCUSTOMINTERFACEGUID = 0x103c;
    public static final int DTWAIN_CV_CAPSUPPORTEDCAPSSEGMENTUNIQUE = 0x103d;
    public static final int DTWAIN_CV_CAPSUPPORTEDDATS = 0x103e;
    public static final int DTWAIN_CV_CAPDOUBLEFEEDDETECTION = 0x103f;
    public static final int DTWAIN_CV_CAPDOUBLEFEEDDETECTIONLENGTH = 0x1040;
    public static final int DTWAIN_CV_CAPDOUBLEFEEDDETECTIONSENSITIVITY = 0x1041;
    public static final int DTWAIN_CV_CAPDOUBLEFEEDDETECTIONRESPONSE = 0x1042;
    public static final int DTWAIN_CV_CAPPAPERHANDLING	= 0x1043;
    public static final int DTWAIN_CV_CAPINDICATORSMODE	= 0x1044;
    public static final int DTWAIN_CV_CAPPRINTERVERTICALOFFSET	= 0x1045;
    public static final int DTWAIN_CV_CAPPOWERSAVETIME	= 0x1046;
    public static final int DTWAIN_CV_CAPPRINTERCHARROTATION = 0x1047;
    public static final int DTWAIN_CV_CAPPRINTERFONTSTYLE = 0x1048;
    public static final int DTWAIN_CV_CAPPRINTERINDEXLEADCHAR = 0x1049;
    public static final int DTWAIN_CV_CAPPRINTERINDEXMAXVALUE = 0x104A;
    public static final int DTWAIN_CV_CAPPRINTERINDEXNUMDIGITS = 0x104B;
    public static final int DTWAIN_CV_CAPPRINTERINDEXSTEP = 0x104C;
    public static final int DTWAIN_CV_CAPPRINTERINDEXTRIGGER = 0x104D;
    public static final int DTWAIN_CV_CAPPRINTERSTRINGPREVIEW = 0x104E;
    public static final int DTWAIN_CV_ICAPAUTOBRIGHT = 0x1100;
    public static final int DTWAIN_CV_ICAPBRIGHTNESS = 0x1101;
    public static final int DTWAIN_CV_ICAPCONTRAST = 0x1103;
    public static final int DTWAIN_CV_ICAPCUSTHALFTONE = 0x1104;
    public static final int DTWAIN_CV_ICAPEXPOSURETIME = 0x1105;
    public static final int DTWAIN_CV_ICAPFILTER = 0x1106;
    public static final int DTWAIN_CV_ICAPFLASHUSED = 0x1107;
    public static final int DTWAIN_CV_ICAPGAMMA = 0x1108;
    public static final int DTWAIN_CV_ICAPHALFTONES = 0x1109;
    public static final int DTWAIN_CV_ICAPHIGHLIGHT = 0x110a;
    public static final int DTWAIN_CV_ICAPIMAGEFILEFORMAT = 0x110c;
    public static final int DTWAIN_CV_ICAPLAMPSTATE = 0x110d;
    public static final int DTWAIN_CV_ICAPLIGHTSOURCE = 0x110e;
    public static final int DTWAIN_CV_ICAPORIENTATION = 0x1110;
    public static final int DTWAIN_CV_ICAPPHYSICALWIDTH = 0x1111;
    public static final int DTWAIN_CV_ICAPPHYSICALHEIGHT = 0x1112;
    public static final int DTWAIN_CV_ICAPSHADOW = 0x1113;
    public static final int DTWAIN_CV_ICAPFRAMES = 0x1114;
    public static final int DTWAIN_CV_ICAPXNATIVERESOLUTION = 0x1116;
    public static final int DTWAIN_CV_ICAPYNATIVERESOLUTION = 0x1117;
    public static final int DTWAIN_CV_ICAPXRESOLUTION = 0x1118;
    public static final int DTWAIN_CV_ICAPYRESOLUTION = 0x1119;
    public static final int DTWAIN_CV_ICAPMAXFRAMES = 0x111a;
    public static final int DTWAIN_CV_ICAPTILES = 0x111b;
    public static final int DTWAIN_CV_ICAPBITORDER = 0x111c;
    public static final int DTWAIN_CV_ICAPCCITTKFACTOR = 0x111d;
    public static final int DTWAIN_CV_ICAPLIGHTPATH = 0x111e;
    public static final int DTWAIN_CV_ICAPPIXELFLAVOR = 0x111f;
    public static final int DTWAIN_CV_ICAPPLANARCHUNKY = 0x1120;
    public static final int DTWAIN_CV_ICAPROTATION = 0x1121;
    public static final int DTWAIN_CV_ICAPSUPPORTEDSIZES = 0x1122;
    public static final int DTWAIN_CV_ICAPTHRESHOLD = 0x1123;
    public static final int DTWAIN_CV_ICAPXSCALING = 0x1124;
    public static final int DTWAIN_CV_ICAPYSCALING = 0x1125;
    public static final int DTWAIN_CV_ICAPBITORDERCODES = 0x1126;
    public static final int DTWAIN_CV_ICAPPIXELFLAVORCODES = 0x1127;
    public static final int DTWAIN_CV_ICAPJPEGPIXELTYPE = 0x1128;
    public static final int DTWAIN_CV_ICAPTIMEFILL = 0x112a;
    public static final int DTWAIN_CV_ICAPBITDEPTH = 0x112b;
    public static final int DTWAIN_CV_ICAPBITDEPTHREDUCTION = 0x112c;
    public static final int DTWAIN_CV_ICAPUNDEFINEDIMAGESIZE = 0x112d;
    public static final int DTWAIN_CV_ICAPIMAGEDATASET = 0x112e;
    public static final int DTWAIN_CV_ICAPEXTIMAGEINFO = 0x112f;
    public static final int DTWAIN_CV_ICAPMINIMUMHEIGHT = 0x1130;
    public static final int DTWAIN_CV_ICAPMINIMUMWIDTH = 0x1131;
    public static final int DTWAIN_CV_ICAPAUTOBORDERDETECTION = 0x1132;
    public static final int DTWAIN_CV_ICAPAUTODESKEW = 0x1133;
    public static final int DTWAIN_CV_ICAPAUTODISCARDBLANKPAGES = 0x1134;
    public static final int DTWAIN_CV_ICAPAUTOROTATE = 0x1135;
    public static final int DTWAIN_CV_ICAPFLIPROTATION = 0x1136;
    public static final int DTWAIN_CV_ICAPBARCODEDETECTIONENABLED = 0x1137;
    public static final int DTWAIN_CV_ICAPSUPPORTEDBARCODETYPES = 0x1138;
    public static final int DTWAIN_CV_ICAPBARCODEMAXSEARCHPRIORITIES = 0x1139;
    public static final int DTWAIN_CV_ICAPBARCODESEARCHPRIORITIES = 0x113a;
    public static final int DTWAIN_CV_ICAPBARCODESEARCHMODE = 0x113b;
    public static final int DTWAIN_CV_ICAPBARCODEMAXRETRIES = 0x113c;
    public static final int DTWAIN_CV_ICAPBARCODETIMEOUT = 0x113d;
    public static final int DTWAIN_CV_ICAPZOOMFACTOR = 0x113e;
    public static final int DTWAIN_CV_ICAPPATCHCODEDETECTIONENABLED = 0x113f;
    public static final int DTWAIN_CV_ICAPSUPPORTEDPATCHCODETYPES = 0x1140;
    public static final int DTWAIN_CV_ICAPPATCHCODEMAXSEARCHPRIORITIES = 0x1141;
    public static final int DTWAIN_CV_ICAPPATCHCODESEARCHPRIORITIES = 0x1142;
    public static final int DTWAIN_CV_ICAPPATCHCODESEARCHMODE = 0x1143;
    public static final int DTWAIN_CV_ICAPPATCHCODEMAXRETRIES = 0x1144;
    public static final int DTWAIN_CV_ICAPPATCHCODETIMEOUT = 0x1145;
    public static final int DTWAIN_CV_ICAPFLASHUSED2 = 0x1146;
    public static final int DTWAIN_CV_ICAPIMAGEFILTER = 0x1147;
    public static final int DTWAIN_CV_ICAPNOISEFILTER = 0x1148;
    public static final int DTWAIN_CV_ICAPOVERSCAN = 0x1149;
    public static final int DTWAIN_CV_ICAPAUTOMATICBORDERDETECTION = 0x1150;
    public static final int DTWAIN_CV_ICAPAUTOMATICDESKEW = 0x1151;
    public static final int DTWAIN_CV_ICAPAUTOMATICROTATE = 0x1152;
    public static final int DTWAIN_CV_ICAPJPEGQUALITY = 0x1153;
    public static final int DTWAIN_CV_ICAPFEEDERTYPE = 0x1154;
    public static final int DTWAIN_CV_ICAPICCPROFILE = 0x1155;
    public static final int DTWAIN_CV_ICAPAUTOSIZE = 0x1156;
    public static final int DTWAIN_CV_ICAPAUTOMATICCROPUSESFRAME = 0x1157;
    public static final int DTWAIN_CV_ICAPAUTOMATICLENGTHDETECTION = 0x1158;
    public static final int DTWAIN_CV_ICAPAUTOMATICCOLORENABLED = 0x1159;
    public static final int DTWAIN_CV_ICAPAUTOMATICCOLORNONCOLORPIXELTYPE = 0x115a;
    public static final int DTWAIN_CV_ICAPCOLORMANAGEMENTENABLED = 0x115b;
    public static final int DTWAIN_CV_ICAPIMAGEMERGE = 0x115c;
    public static final int DTWAIN_CV_ICAPIMAGEMERGEHEIGHTTHRESHOLD = 0x115d;
    public static final int DTWAIN_CV_ICAPSUPPORTEDEXTIMAGEINFO = 0x115e;
    public static final int DTWAIN_CV_ICAPFILMTYPE = 0x115f;
    public static final int DTWAIN_CV_ICAPMIRROR = 0x1160;
    public static final int DTWAIN_CV_ICAPJPEGSUBSAMPLING = 0x1161;
    public static final int DTWAIN_CV_ACAPAUDIOFILEFORMAT = 0x1201;
    public static final int DTWAIN_CV_ACAPXFERMECH = 0x1202;
    
    
    public static final int DTWAIN_CFMCV_CAPCFMSTART = 2048;
    public static final int DTWAIN_CFMCV_CAPDUPLEXSCANNER = (DTWAIN_CV_CAPCUSTOMBASE+DTWAIN_CFMCV_CAPCFMSTART+10);
    public static final int DTWAIN_CFMCV_CAPDUPLEXENABLE = (DTWAIN_CV_CAPCUSTOMBASE+DTWAIN_CFMCV_CAPCFMSTART+11);
    public static final int DTWAIN_CFMCV_CAPSCANNERNAME = (DTWAIN_CV_CAPCUSTOMBASE+DTWAIN_CFMCV_CAPCFMSTART+12);
    public static final int DTWAIN_CFMCV_CAPSINGLEPASS = (DTWAIN_CV_CAPCUSTOMBASE+DTWAIN_CFMCV_CAPCFMSTART+13);
    public static final int DTWAIN_CFMCV_CAPERRHANDLING = (DTWAIN_CV_CAPCUSTOMBASE+DTWAIN_CFMCV_CAPCFMSTART+20);
    public static final int DTWAIN_CFMCV_CAPFEEDERSTATUS = (DTWAIN_CV_CAPCUSTOMBASE+DTWAIN_CFMCV_CAPCFMSTART+21);
    public static final int DTWAIN_CFMCV_CAPFEEDMEDIUMWAIT = (DTWAIN_CV_CAPCUSTOMBASE+DTWAIN_CFMCV_CAPCFMSTART+22);
    public static final int DTWAIN_CFMCV_CAPFEEDWAITTIME = (DTWAIN_CV_CAPCUSTOMBASE+DTWAIN_CFMCV_CAPCFMSTART+23);
    public static final int DTWAIN_CFMCV_ICAPWHITEBALANCE = (DTWAIN_CV_CAPCUSTOMBASE+DTWAIN_CFMCV_CAPCFMSTART+24);
    public static final int DTWAIN_CFMCV_ICAPAUTOBINARY = (DTWAIN_CV_CAPCUSTOMBASE+DTWAIN_CFMCV_CAPCFMSTART+25);
    public static final int DTWAIN_CFMCV_ICAPIMAGESEPARATION = (DTWAIN_CV_CAPCUSTOMBASE+DTWAIN_CFMCV_CAPCFMSTART+26);
    public static final int DTWAIN_CFMCV_ICAPHARDWARECOMPRESSION = (DTWAIN_CV_CAPCUSTOMBASE+DTWAIN_CFMCV_CAPCFMSTART+27);
    public static final int DTWAIN_CFMCV_ICAPIMAGEEMPHASIS = (DTWAIN_CV_CAPCUSTOMBASE+DTWAIN_CFMCV_CAPCFMSTART+28);
    public static final int DTWAIN_CFMCV_ICAPOUTLINING = (DTWAIN_CV_CAPCUSTOMBASE+DTWAIN_CFMCV_CAPCFMSTART+29);
    public static final int DTWAIN_CFMCV_ICAPDYNTHRESHOLD = (DTWAIN_CV_CAPCUSTOMBASE+DTWAIN_CFMCV_CAPCFMSTART+30);
    public static final int DTWAIN_CFMCV_ICAPVARIANCE = (DTWAIN_CV_CAPCUSTOMBASE+DTWAIN_CFMCV_CAPCFMSTART+31);
    public static final int DTWAIN_CFMCV_CAPENDORSERAVAILABLE = (DTWAIN_CV_CAPCUSTOMBASE+DTWAIN_CFMCV_CAPCFMSTART+32);
    public static final int DTWAIN_CFMCV_CAPENDORSERENABLE = (DTWAIN_CV_CAPCUSTOMBASE+DTWAIN_CFMCV_CAPCFMSTART+33);
    public static final int DTWAIN_CFMCV_CAPENDORSERCHARSET = (DTWAIN_CV_CAPCUSTOMBASE+DTWAIN_CFMCV_CAPCFMSTART+34);
    public static final int DTWAIN_CFMCV_CAPENDORSERSTRINGLENGTH = (DTWAIN_CV_CAPCUSTOMBASE+DTWAIN_CFMCV_CAPCFMSTART+35);
    public static final int DTWAIN_CFMCV_CAPENDORSERSTRING = (DTWAIN_CV_CAPCUSTOMBASE+DTWAIN_CFMCV_CAPCFMSTART+36);
    public static final int DTWAIN_CFMCV_ICAPDYNTHRESHOLDCURVE = (DTWAIN_CV_CAPCUSTOMBASE+DTWAIN_CFMCV_CAPCFMSTART+48);
    public static final int DTWAIN_CFMCV_ICAPSMOOTHINGMODE = (DTWAIN_CV_CAPCUSTOMBASE+DTWAIN_CFMCV_CAPCFMSTART+49);
    public static final int DTWAIN_CFMCV_ICAPFILTERMODE = (DTWAIN_CV_CAPCUSTOMBASE+DTWAIN_CFMCV_CAPCFMSTART+50);
    public static final int DTWAIN_CFMCV_ICAPGRADATION = (DTWAIN_CV_CAPCUSTOMBASE+DTWAIN_CFMCV_CAPCFMSTART+51);
    public static final int DTWAIN_CFMCV_ICAPMIRROR = (DTWAIN_CV_CAPCUSTOMBASE+DTWAIN_CFMCV_CAPCFMSTART+52);
    public static final int DTWAIN_CFMCV_ICAPEASYSCANMODE = (DTWAIN_CV_CAPCUSTOMBASE+DTWAIN_CFMCV_CAPCFMSTART+53);
    public static final int DTWAIN_CFMCV_ICAPSOFTWAREINTERPOLATION = (DTWAIN_CV_CAPCUSTOMBASE+DTWAIN_CFMCV_CAPCFMSTART+54);
    public static final int DTWAIN_CFMCV_ICAPIMAGESEPARATIONEX = (DTWAIN_CV_CAPCUSTOMBASE+DTWAIN_CFMCV_CAPCFMSTART+55);
    public static final int DTWAIN_CFMCV_CAPDUPLEXPAGE = (DTWAIN_CV_CAPCUSTOMBASE+DTWAIN_CFMCV_CAPCFMSTART+56);
    public static final int DTWAIN_CFMCV_ICAPINVERTIMAGE = (DTWAIN_CV_CAPCUSTOMBASE+DTWAIN_CFMCV_CAPCFMSTART+57);
    public static final int DTWAIN_CFMCV_ICAPSPECKLEREMOVE = (DTWAIN_CV_CAPCUSTOMBASE+DTWAIN_CFMCV_CAPCFMSTART+58);
    public static final int DTWAIN_CFMCV_ICAPUSMFILTER = (DTWAIN_CV_CAPCUSTOMBASE+DTWAIN_CFMCV_CAPCFMSTART+59);
    public static final int DTWAIN_CFMCV_ICAPNOISEFILTERCFM = (DTWAIN_CV_CAPCUSTOMBASE+DTWAIN_CFMCV_CAPCFMSTART+60);
    public static final int DTWAIN_CFMCV_ICAPDESCREENING = (DTWAIN_CV_CAPCUSTOMBASE+DTWAIN_CFMCV_CAPCFMSTART+61);
    public static final int DTWAIN_CFMCV_ICAPQUALITYFILTER = (DTWAIN_CV_CAPCUSTOMBASE+DTWAIN_CFMCV_CAPCFMSTART+62);
    public static final int DTWAIN_CFMCV_ICAPBINARYFILTER = (DTWAIN_CV_CAPCUSTOMBASE+DTWAIN_CFMCV_CAPCFMSTART+63);
    public static final int DTWAIN_OCRCV_IMAGEFILEFORMAT = 0x1000;
    public static final int DTWAIN_OCRCV_DESKEW = 0x1001;
    public static final int DTWAIN_OCRCV_DESHADE = 0x1002;
    public static final int DTWAIN_OCRCV_ORIENTATION = 0x1003;
    public static final int DTWAIN_OCRCV_NOISEREMOVE = 0x1004;
    public static final int DTWAIN_OCRCV_LINEREMOVE = 0x1005;
    public static final int DTWAIN_OCRCV_INVERTPAGE = 0x1006;
    public static final int DTWAIN_OCRCV_INVERTZONES = 0x1007;
    public static final int DTWAIN_OCRCV_LINEREJECT = 0x1008;
    public static final int DTWAIN_OCRCV_CHARACTERREJECT = 0x1009;
    public static final int DTWAIN_OCRCV_ERRORREPORTMODE = 0x1010;
    public static final int DTWAIN_OCRCV_ERRORREPORTFILE = 0x1011;
    public static final int DTWAIN_OCRCV_PIXELTYPE = 0x1012;
    public static final int DTWAIN_OCRCV_BITDEPTH = 0x1013;
    public static final int DTWAIN_OCRCV_RETURNCHARINFO = 0x1014;
    public static final int DTWAIN_OCRCV_NATIVEFILEFORMAT = 0x1015;
    public static final int DTWAIN_OCRCV_MPNATIVEFILEFORMAT = 0x1016;
    public static final int DTWAIN_OCRCV_SUPPORTEDCAPS = 0x1017;
    public static final int DTWAIN_OCRCV_DISABLECHARACTERS = 0x1018;
    public static final int DTWAIN_OCRCV_REMOVECONTROLCHARS = 0x1019;
    public static final int DTWAIN_OCRORIENT_OFF = 0;
    public static final int DTWAIN_OCRORIENT_AUTO = 1;
    public static final int DTWAIN_OCRORIENT_90 = 2;
    public static final int DTWAIN_OCRORIENT_180 = 3;
    public static final int DTWAIN_OCRORIENT_270 = 4;
    public static final int DTWAIN_OCRIMAGEFORMAT_AUTO = 10000;
    public static final int DTWAIN_OCRERROR_MODENONE = 0;
    public static final int DTWAIN_OCRERROR_SHOWMSGBOX = 1;
    public static final int DTWAIN_OCRERROR_WRITEFILE = 2;
    public static final int DTWAIN_PDFTEXT_ALLPAGES = 0x00000001;
    public static final int DTWAIN_PDFTEXT_EVENPAGES = 0x00000002;
    public static final int DTWAIN_PDFTEXT_ODDPAGES = 0x00000004;
    public static final int DTWAIN_PDFTEXT_FIRSTPAGE = 0x00000008;
    public static final int DTWAIN_PDFTEXT_LASTPAGE = 0x00000010;
    public static final int DTWAIN_PDFTEXT_CURRENTPAGE = 0x00000020;
    public static final int DTWAIN_PDFTEXT_DISABLED = 0x00000040;
    public static final int DTWAIN_PDFTEXT_TOPLEFT = 0x00000100;
    public static final int DTWAIN_PDFTEXT_TOPRIGHT = 0x00000200;
    public static final int DTWAIN_PDFTEXT_HORIZCENTER = 0x00000400;
    public static final int DTWAIN_PDFTEXT_VERTCENTER = 0x00000800;
    public static final int DTWAIN_PDFTEXT_BOTTOMLEFT = 0x00001000;
    public static final int DTWAIN_PDFTEXT_BOTTOMRIGHT = 0x00002000;
    public static final int DTWAIN_PDFTEXT_BOTTOMCENTER = 0x00004000;
    public static final int DTWAIN_PDFTEXT_TOPCENTER = 0x00008000;
    public static final int DTWAIN_PDFTEXT_XCENTER = 0x00010000;
    public static final int DTWAIN_PDFTEXT_YCENTER = 0x00020000;
    public static final int DTWAIN_PDFTEXT_NOSCALING = 0x00100000;
    public static final int DTWAIN_PDFTEXT_NOCHARSPACING = 0x00200000;
    public static final int DTWAIN_PDFTEXT_NOWORDSPACING = 0x00400000;
    public static final int DTWAIN_PDFTEXT_NOSTROKEWIDTH = 0x00800000;
    public static final int DTWAIN_PDFTEXT_NORENDERMODE = 0x01000000;
    public static final int DTWAIN_PDFTEXT_NORGBCOLOR = 0x02000000;
    public static final int DTWAIN_PDFTEXT_NOFONTSIZE = 0x04000000;
    public static final int DTWAIN_PDFTEXT_NOABSPOSITION = 0x08000000;
    public static final int DTWAIN_PDFTEXT_IGNOREALL = 0xFFF00000;
    public static final int DTWAIN_FONT_COURIER = 0;
    public static final int DTWAIN_FONT_COURIERBOLD = 1;
    public static final int DTWAIN_FONT_COURIERBOLDOBLIQUE = 2;
    public static final int DTWAIN_FONT_COURIEROBLIQUE = 3;
    public static final int DTWAIN_FONT_HELVETICA = 4;
    public static final int DTWAIN_FONT_HELVETICABOLD = 5;
    public static final int DTWAIN_FONT_HELVETICABOLDOBLIQUE = 6;
    public static final int DTWAIN_FONT_HELVETICAOBLIQUE = 7;
    public static final int DTWAIN_FONT_TIMESBOLD = 8;
    public static final int DTWAIN_FONT_TIMESBOLDITALIC = 9;
    public static final int DTWAIN_FONT_TIMESROMAN = 10;
    public static final int DTWAIN_FONT_TIMESITALIC = 11;
    public static final int DTWAIN_FONT_SYMBOL = 12;
    public static final int DTWAIN_FONT_ZAPFDINGBATS = 13;
    public static final int DTWAIN_PDFRENDER_FILL = 0;
    public static final int DTWAIN_PDFRENDER_STROKE = 1;
    public static final int DTWAIN_PDFRENDER_FILLSTROKE = 2;
    public static final int DTWAIN_PDFRENDER_INVISIBLE = 3;
    public static final int DTWAIN_PDFTEXTELEMENT_SCALINGXY = 0;
    public static final int DTWAIN_PDFTEXTELEMENT_FONTHEIGHT = 1;
    public static final int DTWAIN_PDFTEXTELEMENT_WORDSPACING = 2;
    public static final int DTWAIN_PDFTEXTELEMENT_POSITION = 3;
    public static final int DTWAIN_PDFTEXTELEMENT_COLOR = 4;
    public static final int DTWAIN_PDFTEXTELEMENT_STROKEWIDTH = 5;
    public static final int DTWAIN_PDFTEXTELEMENT_DISPLAYFLAGS = 6;
    public static final int DTWAIN_PDFTEXTELEMENT_FONTNAME = 7;
    public static final int DTWAIN_PDFTEXTELEMENT_TEXT = 8;
    public static final int DTWAIN_PDFTEXTELEMENT_RENDERMODE = 9;
    public static final int DTWAIN_PDFTEXTELEMENT_CHARSPACING = 10;
    public static final int DTWAIN_PDFTEXTELEMENT_ROTATIONANGLE = 11;
    public static final int DTWAIN_PDFTEXTELEMENT_LEADING = 12;
    public static final int DTWAIN_PDFTEXTELEMENT_SCALING = 13;
    public static final int DTWAIN_PDFTEXTELEMENT_TEXTLENGTH = 14;
    public static final int DTWAIN_PDFTEXTELEMENT_SKEWANGLES = 15;
    public static final int DTWAIN_PDFTEXTELEMENT_TRANSFORMORDER = 16;
    public static final int DTWAIN_PDFTEXTTRANSFORM_TSRK = 0;
    public static final int DTWAIN_PDFTEXTTRANSFORM_TSKR = 1;
    public static final int DTWAIN_PDFTEXTTRANSFORM_TKSR = 2;
    public static final int DTWAIN_PDFTEXTTRANSFORM_TKRS = 3;
    public static final int DTWAIN_PDFTEXTTRANSFORM_TRSK = 4;
    public static final int DTWAIN_PDFTEXTTRANSFORM_TRKS = 5;
    public static final int DTWAIN_PDFTEXTTRANSFORM_STRK = 6;
    public static final int DTWAIN_PDFTEXTTRANSFORM_STKR = 7;
    public static final int DTWAIN_PDFTEXTTRANSFORM_SKTR = 8;
    public static final int DTWAIN_PDFTEXTTRANSFORM_SKRT = 9;
    public static final int DTWAIN_PDFTEXTTRANSFORM_SRTK = 10;
    public static final int DTWAIN_PDFTEXTTRANSFORM_SRKT = 11;
    public static final int DTWAIN_PDFTEXTTRANSFORM_RSTK = 12;
    public static final int DTWAIN_PDFTEXTTRANSFORM_RSKT = 13;
    public static final int DTWAIN_PDFTEXTTRANSFORM_RTSK = 14;
    public static final int DTWAIN_PDFTEXTTRANSFORM_RTKT = 15;
    public static final int DTWAIN_PDFTEXTTRANSFORM_RKST = 16;
    public static final int DTWAIN_PDFTEXTTRANSFORM_RKTS = 17;
    public static final int DTWAIN_PDFTEXTTRANSFORM_KSTR = 18;
    public static final int DTWAIN_PDFTEXTTRANSFORM_KSRT = 19;
    public static final int DTWAIN_PDFTEXTTRANSFORM_KRST = 20;
    public static final int DTWAIN_PDFTEXTTRANSFORM_KRTS = 21;
    public static final int DTWAIN_PDFTEXTTRANSFORM_KTSR = 22;
    public static final int DTWAIN_PDFTEXTTRANSFORM_KTRS = 23;
    public static final int DTWAIN_PDFTEXTTRANFORM_LAST = DTWAIN_PDFTEXTTRANSFORM_KTRS;
    
    public static String toString(final int nCode) {
    	return DTwainResourceContainer.getErrorCodeAsString(nCode);
    }
}
