/*
    This file is part of the Dynarithmic TWAIN Library (DTWAIN).
    Copyright (c) 2002-2026 Dynarithmic Software.

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.

    FOR ANY PART OF THE COVERED WORK IN WHICH THE COPYRIGHT IS OWNED BY
    DYNARITHMIC SOFTWARE. DYNARITHMIC SOFTWARE DISCLAIMS THE WARRANTY OF NON INFRINGEMENT
    OF THIRD PARTY RIGHTS.
 */

/* This file is compatible with DTWAIN versions 5.0 and above.
 * If you are running a previous version, you will need to comment out
 * the "assert" lines that fail when a function cannot be found, or compile
 * your application using the IGNORE_FUNC_ERRORS preprocessor constant
 *
 *  i.e.  #define IGNORE_FUNC_ERRORS                     */

/* Uncomment the line below if you're using Visual Studio and are using precompiled headers */
/* #include "stdafx.h" */

#include "dtwainx2.h"
#include <assert.h>
#ifdef _WIN32
    #include <commdlg.h>
    #ifdef _MSC_VER
        #pragma warning (push)
        #pragma warning (disable:4113)
        #pragma warning (disable:4047)
        #pragma warning (disable:4706)
    #endif
    #ifdef __GNUC__
        #pragma GCC diagnostic push
        #pragma GCC diagnostic ignored "-Wcast-function-type"
     #endif
#endif

/* declare function pointers */
#ifdef __cplusplus

    D_ACQUIREAUDIOFILEFUNC                        DYNDTWAIN_API::DTWAIN_AcquireAudioFile = nullptr;
    D_ACQUIREAUDIOFILEAFUNC                       DYNDTWAIN_API::DTWAIN_AcquireAudioFileA = nullptr;
    D_ACQUIREAUDIOFILEWFUNC                       DYNDTWAIN_API::DTWAIN_AcquireAudioFileW = nullptr;
    D_ACQUIREAUDIONATIVEFUNC                      DYNDTWAIN_API::DTWAIN_AcquireAudioNative = nullptr;
    D_ACQUIREAUDIONATIVEEXFUNC                    DYNDTWAIN_API::DTWAIN_AcquireAudioNativeEx = nullptr;
    D_ACQUIREBUFFEREDFUNC                         DYNDTWAIN_API::DTWAIN_AcquireBuffered = nullptr;
    D_ACQUIREBUFFEREDEXFUNC                       DYNDTWAIN_API::DTWAIN_AcquireBufferedEx = nullptr;
    D_ACQUIREFILEFUNC                             DYNDTWAIN_API::DTWAIN_AcquireFile = nullptr;
    D_ACQUIREFILEAFUNC                            DYNDTWAIN_API::DTWAIN_AcquireFileA = nullptr;
    D_ACQUIREFILEEXFUNC                           DYNDTWAIN_API::DTWAIN_AcquireFileEx = nullptr;
    D_ACQUIREFILEWFUNC                            DYNDTWAIN_API::DTWAIN_AcquireFileW = nullptr;
    D_ACQUIRENATIVEFUNC                           DYNDTWAIN_API::DTWAIN_AcquireNative = nullptr;
    D_ACQUIRENATIVEEXFUNC                         DYNDTWAIN_API::DTWAIN_AcquireNativeEx = nullptr;
    D_ACQUIRETOCLIPBOARDFUNC                      DYNDTWAIN_API::DTWAIN_AcquireToClipboard = nullptr;
    D_ADDEXTIMAGEINFOQUERYFUNC                    DYNDTWAIN_API::DTWAIN_AddExtImageInfoQuery = nullptr;
    D_ADDFILETOAPPENDFUNC                         DYNDTWAIN_API::DTWAIN_AddFileToAppend = nullptr;
    D_ADDFILETOAPPENDAFUNC                        DYNDTWAIN_API::DTWAIN_AddFileToAppendA = nullptr;
    D_ADDFILETOAPPENDWFUNC                        DYNDTWAIN_API::DTWAIN_AddFileToAppendW = nullptr;
    D_ADDPDFTEXTFUNC                              DYNDTWAIN_API::DTWAIN_AddPDFText = nullptr;
    D_ADDPDFTEXTAFUNC                             DYNDTWAIN_API::DTWAIN_AddPDFTextA = nullptr;
    D_ADDPDFTEXTELEMENTFUNC                       DYNDTWAIN_API::DTWAIN_AddPDFTextElement = nullptr;
    D_ADDPDFTEXTEXFUNC                            DYNDTWAIN_API::DTWAIN_AddPDFTextEx = nullptr;
    D_ADDPDFTEXTEXAFUNC                           DYNDTWAIN_API::DTWAIN_AddPDFTextExA = nullptr;
    D_ADDPDFTEXTEXWFUNC                           DYNDTWAIN_API::DTWAIN_AddPDFTextExW = nullptr;
    D_ADDPDFTEXTSTRINGFUNC                        DYNDTWAIN_API::DTWAIN_AddPDFTextString = nullptr;
    D_ADDPDFTEXTSTRINGAFUNC                       DYNDTWAIN_API::DTWAIN_AddPDFTextStringA = nullptr;
    D_ADDPDFTEXTSTRINGWFUNC                       DYNDTWAIN_API::DTWAIN_AddPDFTextStringW = nullptr;
    D_ADDPDFTEXTWFUNC                             DYNDTWAIN_API::DTWAIN_AddPDFTextW = nullptr;
    D_ALLOCATEMEMORYFUNC                          DYNDTWAIN_API::DTWAIN_AllocateMemory = nullptr;
    D_ALLOCATEMEMORY64FUNC                        DYNDTWAIN_API::DTWAIN_AllocateMemory64 = nullptr;
    D_ALLOCATEMEMORYEXFUNC                        DYNDTWAIN_API::DTWAIN_AllocateMemoryEx = nullptr;
    D_APPHANDLESEXCEPTIONSFUNC                    DYNDTWAIN_API::DTWAIN_AppHandlesExceptions = nullptr;
    D_ARRAYANSISTRINGTOFLOATFUNC                  DYNDTWAIN_API::DTWAIN_ArrayANSIStringToFloat = nullptr;
    D_ARRAYADDFUNC                                DYNDTWAIN_API::DTWAIN_ArrayAdd = nullptr;
    D_ARRAYADDANSISTRINGFUNC                      DYNDTWAIN_API::DTWAIN_ArrayAddANSIString = nullptr;
    D_ARRAYADDANSISTRINGNFUNC                     DYNDTWAIN_API::DTWAIN_ArrayAddANSIStringN = nullptr;
    D_ARRAYADDFLOATFUNC                           DYNDTWAIN_API::DTWAIN_ArrayAddFloat = nullptr;
    D_ARRAYADDFLOATNFUNC                          DYNDTWAIN_API::DTWAIN_ArrayAddFloatN = nullptr;
    D_ARRAYADDFLOATSTRINGFUNC                     DYNDTWAIN_API::DTWAIN_ArrayAddFloatString = nullptr;
    D_ARRAYADDFLOATSTRINGAFUNC                    DYNDTWAIN_API::DTWAIN_ArrayAddFloatStringA = nullptr;
    D_ARRAYADDFLOATSTRINGNFUNC                    DYNDTWAIN_API::DTWAIN_ArrayAddFloatStringN = nullptr;
    D_ARRAYADDFLOATSTRINGNAFUNC                   DYNDTWAIN_API::DTWAIN_ArrayAddFloatStringNA = nullptr;
    D_ARRAYADDFLOATSTRINGNWFUNC                   DYNDTWAIN_API::DTWAIN_ArrayAddFloatStringNW = nullptr;
    D_ARRAYADDFLOATSTRINGWFUNC                    DYNDTWAIN_API::DTWAIN_ArrayAddFloatStringW = nullptr;
    D_ARRAYADDFRAMEFUNC                           DYNDTWAIN_API::DTWAIN_ArrayAddFrame = nullptr;
    D_ARRAYADDFRAMENFUNC                          DYNDTWAIN_API::DTWAIN_ArrayAddFrameN = nullptr;
    D_ARRAYADDLONGFUNC                            DYNDTWAIN_API::DTWAIN_ArrayAddLong = nullptr;
    D_ARRAYADDLONG64FUNC                          DYNDTWAIN_API::DTWAIN_ArrayAddLong64 = nullptr;
    D_ARRAYADDLONG64NFUNC                         DYNDTWAIN_API::DTWAIN_ArrayAddLong64N = nullptr;
    D_ARRAYADDLONGNFUNC                           DYNDTWAIN_API::DTWAIN_ArrayAddLongN = nullptr;
    D_ARRAYADDNFUNC                               DYNDTWAIN_API::DTWAIN_ArrayAddN = nullptr;
    D_ARRAYADDSTRINGFUNC                          DYNDTWAIN_API::DTWAIN_ArrayAddString = nullptr;
    D_ARRAYADDSTRINGAFUNC                         DYNDTWAIN_API::DTWAIN_ArrayAddStringA = nullptr;
    D_ARRAYADDSTRINGNFUNC                         DYNDTWAIN_API::DTWAIN_ArrayAddStringN = nullptr;
    D_ARRAYADDSTRINGNAFUNC                        DYNDTWAIN_API::DTWAIN_ArrayAddStringNA = nullptr;
    D_ARRAYADDSTRINGNWFUNC                        DYNDTWAIN_API::DTWAIN_ArrayAddStringNW = nullptr;
    D_ARRAYADDSTRINGWFUNC                         DYNDTWAIN_API::DTWAIN_ArrayAddStringW = nullptr;
    D_ARRAYADDWIDESTRINGFUNC                      DYNDTWAIN_API::DTWAIN_ArrayAddWideString = nullptr;
    D_ARRAYADDWIDESTRINGNFUNC                     DYNDTWAIN_API::DTWAIN_ArrayAddWideStringN = nullptr;
    D_ARRAYCONVERTFIX32TOFLOATFUNC                DYNDTWAIN_API::DTWAIN_ArrayConvertFix32ToFloat = nullptr;
    D_ARRAYCONVERTFLOATTOFIX32FUNC                DYNDTWAIN_API::DTWAIN_ArrayConvertFloatToFix32 = nullptr;
    D_ARRAYCOPYFUNC                               DYNDTWAIN_API::DTWAIN_ArrayCopy = nullptr;
    D_ARRAYCREATEFUNC                             DYNDTWAIN_API::DTWAIN_ArrayCreate = nullptr;
    D_ARRAYCREATECOPYFUNC                         DYNDTWAIN_API::DTWAIN_ArrayCreateCopy = nullptr;
    D_ARRAYCREATEFROMCAPFUNC                      DYNDTWAIN_API::DTWAIN_ArrayCreateFromCap = nullptr;
    D_ARRAYCREATEFROMLONG64SFUNC                  DYNDTWAIN_API::DTWAIN_ArrayCreateFromLong64s = nullptr;
    D_ARRAYCREATEFROMLONGSFUNC                    DYNDTWAIN_API::DTWAIN_ArrayCreateFromLongs = nullptr;
    D_ARRAYCREATEFROMREALSFUNC                    DYNDTWAIN_API::DTWAIN_ArrayCreateFromReals = nullptr;
    D_ARRAYCREATEFROMSTRINGSFUNC                  DYNDTWAIN_API::DTWAIN_ArrayCreateFromStrings = nullptr;
    D_ARRAYCREATEFROMSTRINGSAFUNC                 DYNDTWAIN_API::DTWAIN_ArrayCreateFromStringsA = nullptr;
    D_ARRAYCREATEFROMSTRINGSWFUNC                 DYNDTWAIN_API::DTWAIN_ArrayCreateFromStringsW = nullptr;
    D_ARRAYDESTROYFUNC                            DYNDTWAIN_API::DTWAIN_ArrayDestroy = nullptr;
    D_ARRAYDESTROYFRAMESFUNC                      DYNDTWAIN_API::DTWAIN_ArrayDestroyFrames = nullptr;
    D_ARRAYDUMPTOLOGFUNC                          DYNDTWAIN_API::DTWAIN_ArrayDumpToLog = nullptr;
    D_ARRAYFINDFUNC                               DYNDTWAIN_API::DTWAIN_ArrayFind = nullptr;
    D_ARRAYFINDANSISTRINGFUNC                     DYNDTWAIN_API::DTWAIN_ArrayFindANSIString = nullptr;
    D_ARRAYFINDFLOATFUNC                          DYNDTWAIN_API::DTWAIN_ArrayFindFloat = nullptr;
    D_ARRAYFINDFLOATSTRINGFUNC                    DYNDTWAIN_API::DTWAIN_ArrayFindFloatString = nullptr;
    D_ARRAYFINDFLOATSTRINGAFUNC                   DYNDTWAIN_API::DTWAIN_ArrayFindFloatStringA = nullptr;
    D_ARRAYFINDFLOATSTRINGWFUNC                   DYNDTWAIN_API::DTWAIN_ArrayFindFloatStringW = nullptr;
    D_ARRAYFINDLONGFUNC                           DYNDTWAIN_API::DTWAIN_ArrayFindLong = nullptr;
    D_ARRAYFINDLONG64FUNC                         DYNDTWAIN_API::DTWAIN_ArrayFindLong64 = nullptr;
    D_ARRAYFINDSTRINGFUNC                         DYNDTWAIN_API::DTWAIN_ArrayFindString = nullptr;
    D_ARRAYFINDSTRINGAFUNC                        DYNDTWAIN_API::DTWAIN_ArrayFindStringA = nullptr;
    D_ARRAYFINDSTRINGWFUNC                        DYNDTWAIN_API::DTWAIN_ArrayFindStringW = nullptr;
    D_ARRAYFINDWIDESTRINGFUNC                     DYNDTWAIN_API::DTWAIN_ArrayFindWideString = nullptr;
    D_ARRAYFIX32GETATFUNC                         DYNDTWAIN_API::DTWAIN_ArrayFix32GetAt = nullptr;
    D_ARRAYFIX32SETATFUNC                         DYNDTWAIN_API::DTWAIN_ArrayFix32SetAt = nullptr;
    D_ARRAYFLOATTOANSISTRINGFUNC                  DYNDTWAIN_API::DTWAIN_ArrayFloatToANSIString = nullptr;
    D_ARRAYFLOATTOSTRINGFUNC                      DYNDTWAIN_API::DTWAIN_ArrayFloatToString = nullptr;
    D_ARRAYFLOATTOWIDESTRINGFUNC                  DYNDTWAIN_API::DTWAIN_ArrayFloatToWideString = nullptr;
    D_ARRAYGETATFUNC                              DYNDTWAIN_API::DTWAIN_ArrayGetAt = nullptr;
    D_ARRAYGETATANSISTRINGFUNC                    DYNDTWAIN_API::DTWAIN_ArrayGetAtANSIString = nullptr;
    D_ARRAYGETATANSISTRINGPTRFUNC                 DYNDTWAIN_API::DTWAIN_ArrayGetAtANSIStringPtr = nullptr;
    D_ARRAYGETATFLOATFUNC                         DYNDTWAIN_API::DTWAIN_ArrayGetAtFloat = nullptr;
    D_ARRAYGETATFLOATEXFUNC                       DYNDTWAIN_API::DTWAIN_ArrayGetAtFloatEx = nullptr;
    D_ARRAYGETATFLOATSTRINGFUNC                   DYNDTWAIN_API::DTWAIN_ArrayGetAtFloatString = nullptr;
    D_ARRAYGETATFLOATSTRINGAFUNC                  DYNDTWAIN_API::DTWAIN_ArrayGetAtFloatStringA = nullptr;
    D_ARRAYGETATFLOATSTRINGWFUNC                  DYNDTWAIN_API::DTWAIN_ArrayGetAtFloatStringW = nullptr;
    D_ARRAYGETATFRAMEFUNC                         DYNDTWAIN_API::DTWAIN_ArrayGetAtFrame = nullptr;
    D_ARRAYGETATFRAMEEXFUNC                       DYNDTWAIN_API::DTWAIN_ArrayGetAtFrameEx = nullptr;
    D_ARRAYGETATFRAMESTRINGFUNC                   DYNDTWAIN_API::DTWAIN_ArrayGetAtFrameString = nullptr;
    D_ARRAYGETATFRAMESTRINGAFUNC                  DYNDTWAIN_API::DTWAIN_ArrayGetAtFrameStringA = nullptr;
    D_ARRAYGETATFRAMESTRINGWFUNC                  DYNDTWAIN_API::DTWAIN_ArrayGetAtFrameStringW = nullptr;
    D_ARRAYGETATLONGFUNC                          DYNDTWAIN_API::DTWAIN_ArrayGetAtLong = nullptr;
    D_ARRAYGETATLONG64FUNC                        DYNDTWAIN_API::DTWAIN_ArrayGetAtLong64 = nullptr;
    D_ARRAYGETATLONG64EXFUNC                      DYNDTWAIN_API::DTWAIN_ArrayGetAtLong64Ex = nullptr;
    D_ARRAYGETATLONGEXFUNC                        DYNDTWAIN_API::DTWAIN_ArrayGetAtLongEx = nullptr;
    D_ARRAYGETATSOURCEFUNC                        DYNDTWAIN_API::DTWAIN_ArrayGetAtSource = nullptr;
    D_ARRAYGETATSOURCEEXFUNC                      DYNDTWAIN_API::DTWAIN_ArrayGetAtSourceEx = nullptr;
    D_ARRAYGETATSTRINGFUNC                        DYNDTWAIN_API::DTWAIN_ArrayGetAtString = nullptr;
    D_ARRAYGETATSTRINGAFUNC                       DYNDTWAIN_API::DTWAIN_ArrayGetAtStringA = nullptr;
    D_ARRAYGETATSTRINGPTRFUNC                     DYNDTWAIN_API::DTWAIN_ArrayGetAtStringPtr = nullptr;
    D_ARRAYGETATSTRINGWFUNC                       DYNDTWAIN_API::DTWAIN_ArrayGetAtStringW = nullptr;
    D_ARRAYGETATWIDESTRINGFUNC                    DYNDTWAIN_API::DTWAIN_ArrayGetAtWideString = nullptr;
    D_ARRAYGETATWIDESTRINGPTRFUNC                 DYNDTWAIN_API::DTWAIN_ArrayGetAtWideStringPtr = nullptr;
    D_ARRAYGETBUFFERFUNC                          DYNDTWAIN_API::DTWAIN_ArrayGetBuffer = nullptr;
    D_ARRAYGETCAPVALUESFUNC                       DYNDTWAIN_API::DTWAIN_ArrayGetCapValues = nullptr;
    D_ARRAYGETCAPVALUESEXFUNC                     DYNDTWAIN_API::DTWAIN_ArrayGetCapValuesEx = nullptr;
    D_ARRAYGETCAPVALUESEX2FUNC                    DYNDTWAIN_API::DTWAIN_ArrayGetCapValuesEx2 = nullptr;
    D_ARRAYGETCOUNTFUNC                           DYNDTWAIN_API::DTWAIN_ArrayGetCount = nullptr;
    D_ARRAYGETMAXSTRINGLENGTHFUNC                 DYNDTWAIN_API::DTWAIN_ArrayGetMaxStringLength = nullptr;
    D_ARRAYGETSOURCEATFUNC                        DYNDTWAIN_API::DTWAIN_ArrayGetSourceAt = nullptr;
    D_ARRAYGETSTRINGLENGTHFUNC                    DYNDTWAIN_API::DTWAIN_ArrayGetStringLength = nullptr;
    D_ARRAYGETTYPEFUNC                            DYNDTWAIN_API::DTWAIN_ArrayGetType = nullptr;
    D_ARRAYINITFUNC                               DYNDTWAIN_API::DTWAIN_ArrayInit = nullptr;
    D_ARRAYINSERTATFUNC                           DYNDTWAIN_API::DTWAIN_ArrayInsertAt = nullptr;
    D_ARRAYINSERTATANSISTRINGFUNC                 DYNDTWAIN_API::DTWAIN_ArrayInsertAtANSIString = nullptr;
    D_ARRAYINSERTATANSISTRINGNFUNC                DYNDTWAIN_API::DTWAIN_ArrayInsertAtANSIStringN = nullptr;
    D_ARRAYINSERTATFLOATFUNC                      DYNDTWAIN_API::DTWAIN_ArrayInsertAtFloat = nullptr;
    D_ARRAYINSERTATFLOATNFUNC                     DYNDTWAIN_API::DTWAIN_ArrayInsertAtFloatN = nullptr;
    D_ARRAYINSERTATFLOATSTRINGFUNC                DYNDTWAIN_API::DTWAIN_ArrayInsertAtFloatString = nullptr;
    D_ARRAYINSERTATFLOATSTRINGAFUNC               DYNDTWAIN_API::DTWAIN_ArrayInsertAtFloatStringA = nullptr;
    D_ARRAYINSERTATFLOATSTRINGNFUNC               DYNDTWAIN_API::DTWAIN_ArrayInsertAtFloatStringN = nullptr;
    D_ARRAYINSERTATFLOATSTRINGNAFUNC              DYNDTWAIN_API::DTWAIN_ArrayInsertAtFloatStringNA = nullptr;
    D_ARRAYINSERTATFLOATSTRINGNWFUNC              DYNDTWAIN_API::DTWAIN_ArrayInsertAtFloatStringNW = nullptr;
    D_ARRAYINSERTATFLOATSTRINGWFUNC               DYNDTWAIN_API::DTWAIN_ArrayInsertAtFloatStringW = nullptr;
    D_ARRAYINSERTATFRAMEFUNC                      DYNDTWAIN_API::DTWAIN_ArrayInsertAtFrame = nullptr;
    D_ARRAYINSERTATFRAMENFUNC                     DYNDTWAIN_API::DTWAIN_ArrayInsertAtFrameN = nullptr;
    D_ARRAYINSERTATLONGFUNC                       DYNDTWAIN_API::DTWAIN_ArrayInsertAtLong = nullptr;
    D_ARRAYINSERTATLONG64FUNC                     DYNDTWAIN_API::DTWAIN_ArrayInsertAtLong64 = nullptr;
    D_ARRAYINSERTATLONG64NFUNC                    DYNDTWAIN_API::DTWAIN_ArrayInsertAtLong64N = nullptr;
    D_ARRAYINSERTATLONGNFUNC                      DYNDTWAIN_API::DTWAIN_ArrayInsertAtLongN = nullptr;
    D_ARRAYINSERTATNFUNC                          DYNDTWAIN_API::DTWAIN_ArrayInsertAtN = nullptr;
    D_ARRAYINSERTATSTRINGFUNC                     DYNDTWAIN_API::DTWAIN_ArrayInsertAtString = nullptr;
    D_ARRAYINSERTATSTRINGAFUNC                    DYNDTWAIN_API::DTWAIN_ArrayInsertAtStringA = nullptr;
    D_ARRAYINSERTATSTRINGNFUNC                    DYNDTWAIN_API::DTWAIN_ArrayInsertAtStringN = nullptr;
    D_ARRAYINSERTATSTRINGNAFUNC                   DYNDTWAIN_API::DTWAIN_ArrayInsertAtStringNA = nullptr;
    D_ARRAYINSERTATSTRINGNWFUNC                   DYNDTWAIN_API::DTWAIN_ArrayInsertAtStringNW = nullptr;
    D_ARRAYINSERTATSTRINGWFUNC                    DYNDTWAIN_API::DTWAIN_ArrayInsertAtStringW = nullptr;
    D_ARRAYINSERTATWIDESTRINGFUNC                 DYNDTWAIN_API::DTWAIN_ArrayInsertAtWideString = nullptr;
    D_ARRAYINSERTATWIDESTRINGNFUNC                DYNDTWAIN_API::DTWAIN_ArrayInsertAtWideStringN = nullptr;
    D_ARRAYREMOVEALLFUNC                          DYNDTWAIN_API::DTWAIN_ArrayRemoveAll = nullptr;
    D_ARRAYREMOVEATFUNC                           DYNDTWAIN_API::DTWAIN_ArrayRemoveAt = nullptr;
    D_ARRAYREMOVEATNFUNC                          DYNDTWAIN_API::DTWAIN_ArrayRemoveAtN = nullptr;
    D_ARRAYRESIZEFUNC                             DYNDTWAIN_API::DTWAIN_ArrayResize = nullptr;
    D_ARRAYSETATFUNC                              DYNDTWAIN_API::DTWAIN_ArraySetAt = nullptr;
    D_ARRAYSETATANSISTRINGFUNC                    DYNDTWAIN_API::DTWAIN_ArraySetAtANSIString = nullptr;
    D_ARRAYSETATFLOATFUNC                         DYNDTWAIN_API::DTWAIN_ArraySetAtFloat = nullptr;
    D_ARRAYSETATFLOATSTRINGFUNC                   DYNDTWAIN_API::DTWAIN_ArraySetAtFloatString = nullptr;
    D_ARRAYSETATFLOATSTRINGAFUNC                  DYNDTWAIN_API::DTWAIN_ArraySetAtFloatStringA = nullptr;
    D_ARRAYSETATFLOATSTRINGWFUNC                  DYNDTWAIN_API::DTWAIN_ArraySetAtFloatStringW = nullptr;
    D_ARRAYSETATFRAMEFUNC                         DYNDTWAIN_API::DTWAIN_ArraySetAtFrame = nullptr;
    D_ARRAYSETATFRAMEEXFUNC                       DYNDTWAIN_API::DTWAIN_ArraySetAtFrameEx = nullptr;
    D_ARRAYSETATFRAMESTRINGFUNC                   DYNDTWAIN_API::DTWAIN_ArraySetAtFrameString = nullptr;
    D_ARRAYSETATFRAMESTRINGAFUNC                  DYNDTWAIN_API::DTWAIN_ArraySetAtFrameStringA = nullptr;
    D_ARRAYSETATFRAMESTRINGWFUNC                  DYNDTWAIN_API::DTWAIN_ArraySetAtFrameStringW = nullptr;
    D_ARRAYSETATLONGFUNC                          DYNDTWAIN_API::DTWAIN_ArraySetAtLong = nullptr;
    D_ARRAYSETATLONG64FUNC                        DYNDTWAIN_API::DTWAIN_ArraySetAtLong64 = nullptr;
    D_ARRAYSETATSTRINGFUNC                        DYNDTWAIN_API::DTWAIN_ArraySetAtString = nullptr;
    D_ARRAYSETATSTRINGAFUNC                       DYNDTWAIN_API::DTWAIN_ArraySetAtStringA = nullptr;
    D_ARRAYSETATSTRINGWFUNC                       DYNDTWAIN_API::DTWAIN_ArraySetAtStringW = nullptr;
    D_ARRAYSETATWIDESTRINGFUNC                    DYNDTWAIN_API::DTWAIN_ArraySetAtWideString = nullptr;
    D_ARRAYSTRINGTOFLOATFUNC                      DYNDTWAIN_API::DTWAIN_ArrayStringToFloat = nullptr;
    D_ARRAYWIDESTRINGTOFLOATFUNC                  DYNDTWAIN_API::DTWAIN_ArrayWideStringToFloat = nullptr;
    D_CALLCALLBACKFUNC                            DYNDTWAIN_API::DTWAIN_CallCallback = nullptr;
    D_CALLCALLBACK64FUNC                          DYNDTWAIN_API::DTWAIN_CallCallback64 = nullptr;
    D_CALLDSMPROCFUNC                             DYNDTWAIN_API::DTWAIN_CallDSMProc = nullptr;
    D_CHECKHANDLESFUNC                            DYNDTWAIN_API::DTWAIN_CheckHandles = nullptr;
    D_CLEARBUFFERSFUNC                            DYNDTWAIN_API::DTWAIN_ClearBuffers = nullptr;
    D_CLEARERRORBUFFERFUNC                        DYNDTWAIN_API::DTWAIN_ClearErrorBuffer = nullptr;
    D_CLEARPDFTEXTELEMENTSFUNC                    DYNDTWAIN_API::DTWAIN_ClearPDFTextElements = nullptr;
    D_CLEARPAGEFUNC                               DYNDTWAIN_API::DTWAIN_ClearPage = nullptr;
    D_CLOSESOURCEFUNC                             DYNDTWAIN_API::DTWAIN_CloseSource = nullptr;
    D_CLOSESOURCEUIFUNC                           DYNDTWAIN_API::DTWAIN_CloseSourceUI = nullptr;
    D_CONVERTDIBTOBITMAPFUNC                      DYNDTWAIN_API::DTWAIN_ConvertDIBToBitmap = nullptr;
    D_CONVERTDIBTOFULLBITMAPFUNC                  DYNDTWAIN_API::DTWAIN_ConvertDIBToFullBitmap = nullptr;
    D_CONVERTTOAPISTRINGFUNC                      DYNDTWAIN_API::DTWAIN_ConvertToAPIString = nullptr;
    D_CONVERTTOAPISTRINGAFUNC                     DYNDTWAIN_API::DTWAIN_ConvertToAPIStringA = nullptr;
    D_CONVERTTOAPISTRINGEXFUNC                    DYNDTWAIN_API::DTWAIN_ConvertToAPIStringEx = nullptr;
    D_CONVERTTOAPISTRINGEXAFUNC                   DYNDTWAIN_API::DTWAIN_ConvertToAPIStringExA = nullptr;
    D_CONVERTTOAPISTRINGEXWFUNC                   DYNDTWAIN_API::DTWAIN_ConvertToAPIStringExW = nullptr;
    D_CONVERTTOAPISTRINGWFUNC                     DYNDTWAIN_API::DTWAIN_ConvertToAPIStringW = nullptr;
    D_CREATEACQUISITIONARRAYFUNC                  DYNDTWAIN_API::DTWAIN_CreateAcquisitionArray = nullptr;
    D_CREATEPDFTEXTELEMENTFUNC                    DYNDTWAIN_API::DTWAIN_CreatePDFTextElement = nullptr;
    D_CREATEPDFTEXTELEMENTCOPYFUNC                DYNDTWAIN_API::DTWAIN_CreatePDFTextElementCopy = nullptr;
    D_DELETEDIBFUNC                               DYNDTWAIN_API::DTWAIN_DeleteDIB = nullptr;
    D_DESTROYACQUISITIONARRAYFUNC                 DYNDTWAIN_API::DTWAIN_DestroyAcquisitionArray = nullptr;
    D_DESTROYPDFTEXTELEMENTFUNC                   DYNDTWAIN_API::DTWAIN_DestroyPDFTextElement = nullptr;
    D_DISABLEAPPWINDOWFUNC                        DYNDTWAIN_API::DTWAIN_DisableAppWindow = nullptr;
    D_ENABLEAUTOBORDERDETECTFUNC                  DYNDTWAIN_API::DTWAIN_EnableAutoBorderDetect = nullptr;
    D_ENABLEAUTOBRIGHTFUNC                        DYNDTWAIN_API::DTWAIN_EnableAutoBright = nullptr;
    D_ENABLEAUTODESKEWFUNC                        DYNDTWAIN_API::DTWAIN_EnableAutoDeskew = nullptr;
    D_ENABLEAUTOFEEDFUNC                          DYNDTWAIN_API::DTWAIN_EnableAutoFeed = nullptr;
    D_ENABLEAUTOROTATEFUNC                        DYNDTWAIN_API::DTWAIN_EnableAutoRotate = nullptr;
    D_ENABLEAUTOSCANFUNC                          DYNDTWAIN_API::DTWAIN_EnableAutoScan = nullptr;
    D_ENABLEAUTOMATICSENSEMEDIUMFUNC              DYNDTWAIN_API::DTWAIN_EnableAutomaticSenseMedium = nullptr;
    D_ENABLEBARCODEDETECTIONFUNC                  DYNDTWAIN_API::DTWAIN_EnableBarcodeDetection = nullptr;
    D_ENABLEDUPLEXFUNC                            DYNDTWAIN_API::DTWAIN_EnableDuplex = nullptr;
    D_ENABLEFEEDERFUNC                            DYNDTWAIN_API::DTWAIN_EnableFeeder = nullptr;
    D_ENABLEGETMESSAGELOOPFUNC                    DYNDTWAIN_API::DTWAIN_EnableGetMessageLoop = nullptr;
    D_ENABLEGETMESSAGELOOPDETECTIONFUNC           DYNDTWAIN_API::DTWAIN_EnableGetMessageLoopDetection = nullptr;
    D_ENABLEINDICATORFUNC                         DYNDTWAIN_API::DTWAIN_EnableIndicator = nullptr;
    D_ENABLEJOBFILEHANDLINGFUNC                   DYNDTWAIN_API::DTWAIN_EnableJobFileHandling = nullptr;
    D_ENABLELAMPFUNC                              DYNDTWAIN_API::DTWAIN_EnableLamp = nullptr;
    D_ENABLEMSGNOTIFYFUNC                         DYNDTWAIN_API::DTWAIN_EnableMsgNotify = nullptr;
    D_ENABLEPATCHCODEDETECTIONFUNC                DYNDTWAIN_API::DTWAIN_EnablePatchcodeDetection = nullptr;
    D_ENABLEPEEKMESSAGELOOPFUNC                   DYNDTWAIN_API::DTWAIN_EnablePeekMessageLoop = nullptr;
    D_ENABLEPRINTERFUNC                           DYNDTWAIN_API::DTWAIN_EnablePrinter = nullptr;
    D_ENABLETHUMBNAILFUNC                         DYNDTWAIN_API::DTWAIN_EnableThumbnail = nullptr;
    D_ENABLETRIPLETSNOTIFYFUNC                    DYNDTWAIN_API::DTWAIN_EnableTripletsNotify = nullptr;
    D_ENDTHREADFUNC                               DYNDTWAIN_API::DTWAIN_EndThread = nullptr;
    D_ENDTWAINSESSIONFUNC                         DYNDTWAIN_API::DTWAIN_EndTwainSession = nullptr;
    D_ENUMALARMVOLUMESFUNC                        DYNDTWAIN_API::DTWAIN_EnumAlarmVolumes = nullptr;
    D_ENUMALARMVOLUMESEXFUNC                      DYNDTWAIN_API::DTWAIN_EnumAlarmVolumesEx = nullptr;
    D_ENUMALARMSFUNC                              DYNDTWAIN_API::DTWAIN_EnumAlarms = nullptr;
    D_ENUMALARMSEXFUNC                            DYNDTWAIN_API::DTWAIN_EnumAlarmsEx = nullptr;
    D_ENUMAUDIOXFERMECHSFUNC                      DYNDTWAIN_API::DTWAIN_EnumAudioXferMechs = nullptr;
    D_ENUMAUDIOXFERMECHSEXFUNC                    DYNDTWAIN_API::DTWAIN_EnumAudioXferMechsEx = nullptr;
    D_ENUMAUTOFEEDVALUESFUNC                      DYNDTWAIN_API::DTWAIN_EnumAutoFeedValues = nullptr;
    D_ENUMAUTOFEEDVALUESEXFUNC                    DYNDTWAIN_API::DTWAIN_EnumAutoFeedValuesEx = nullptr;
    D_ENUMAUTOMATICCAPTURESFUNC                   DYNDTWAIN_API::DTWAIN_EnumAutomaticCaptures = nullptr;
    D_ENUMAUTOMATICCAPTURESEXFUNC                 DYNDTWAIN_API::DTWAIN_EnumAutomaticCapturesEx = nullptr;
    D_ENUMAUTOMATICSENSEMEDIUMFUNC                DYNDTWAIN_API::DTWAIN_EnumAutomaticSenseMedium = nullptr;
    D_ENUMAUTOMATICSENSEMEDIUMEXFUNC              DYNDTWAIN_API::DTWAIN_EnumAutomaticSenseMediumEx = nullptr;
    D_ENUMBARCODECODESFUNC                        DYNDTWAIN_API::DTWAIN_EnumBarcodeCodes = nullptr;
    D_ENUMBARCODECODESEXFUNC                      DYNDTWAIN_API::DTWAIN_EnumBarcodeCodesEx = nullptr;
    D_ENUMBARCODEMAXPRIORITIESFUNC                DYNDTWAIN_API::DTWAIN_EnumBarcodeMaxPriorities = nullptr;
    D_ENUMBARCODEMAXPRIORITIESEXFUNC              DYNDTWAIN_API::DTWAIN_EnumBarcodeMaxPrioritiesEx = nullptr;
    D_ENUMBARCODEMAXRETRIESFUNC                   DYNDTWAIN_API::DTWAIN_EnumBarcodeMaxRetries = nullptr;
    D_ENUMBARCODEMAXRETRIESEXFUNC                 DYNDTWAIN_API::DTWAIN_EnumBarcodeMaxRetriesEx = nullptr;
    D_ENUMBARCODEPRIORITIESFUNC                   DYNDTWAIN_API::DTWAIN_EnumBarcodePriorities = nullptr;
    D_ENUMBARCODEPRIORITIESEXFUNC                 DYNDTWAIN_API::DTWAIN_EnumBarcodePrioritiesEx = nullptr;
    D_ENUMBARCODESEARCHMODESFUNC                  DYNDTWAIN_API::DTWAIN_EnumBarcodeSearchModes = nullptr;
    D_ENUMBARCODESEARCHMODESEXFUNC                DYNDTWAIN_API::DTWAIN_EnumBarcodeSearchModesEx = nullptr;
    D_ENUMBARCODETIMEOUTVALUESFUNC                DYNDTWAIN_API::DTWAIN_EnumBarcodeTimeOutValues = nullptr;
    D_ENUMBARCODETIMEOUTVALUESEXFUNC              DYNDTWAIN_API::DTWAIN_EnumBarcodeTimeOutValuesEx = nullptr;
    D_ENUMBITDEPTHSFUNC                           DYNDTWAIN_API::DTWAIN_EnumBitDepths = nullptr;
    D_ENUMBITDEPTHSEXFUNC                         DYNDTWAIN_API::DTWAIN_EnumBitDepthsEx = nullptr;
    D_ENUMBITDEPTHSEX2FUNC                        DYNDTWAIN_API::DTWAIN_EnumBitDepthsEx2 = nullptr;
    D_ENUMBOTTOMCAMERASFUNC                       DYNDTWAIN_API::DTWAIN_EnumBottomCameras = nullptr;
    D_ENUMBOTTOMCAMERASEXFUNC                     DYNDTWAIN_API::DTWAIN_EnumBottomCamerasEx = nullptr;
    D_ENUMBRIGHTNESSVALUESFUNC                    DYNDTWAIN_API::DTWAIN_EnumBrightnessValues = nullptr;
    D_ENUMBRIGHTNESSVALUESEXFUNC                  DYNDTWAIN_API::DTWAIN_EnumBrightnessValuesEx = nullptr;
    D_ENUMCAMERASFUNC                             DYNDTWAIN_API::DTWAIN_EnumCameras = nullptr;
    D_ENUMCAMERASEXFUNC                           DYNDTWAIN_API::DTWAIN_EnumCamerasEx = nullptr;
    D_ENUMCAMERASEX2FUNC                          DYNDTWAIN_API::DTWAIN_EnumCamerasEx2 = nullptr;
    D_ENUMCAPLABELSFUNC                           DYNDTWAIN_API::DTWAIN_EnumCapLabels = nullptr;
    D_ENUMCOMPRESSIONTYPESFUNC                    DYNDTWAIN_API::DTWAIN_EnumCompressionTypes = nullptr;
    D_ENUMCOMPRESSIONTYPESEXFUNC                  DYNDTWAIN_API::DTWAIN_EnumCompressionTypesEx = nullptr;
    D_ENUMCOMPRESSIONTYPESEX2FUNC                 DYNDTWAIN_API::DTWAIN_EnumCompressionTypesEx2 = nullptr;
    D_ENUMCONTRASTVALUESFUNC                      DYNDTWAIN_API::DTWAIN_EnumContrastValues = nullptr;
    D_ENUMCONTRASTVALUESEXFUNC                    DYNDTWAIN_API::DTWAIN_EnumContrastValuesEx = nullptr;
    D_ENUMCUSTOMCAPSFUNC                          DYNDTWAIN_API::DTWAIN_EnumCustomCaps = nullptr;
    D_ENUMCUSTOMCAPSEXFUNC                        DYNDTWAIN_API::DTWAIN_EnumCustomCapsEx = nullptr;
    D_ENUMDOUBLEFEEDDETECTLENGTHSFUNC             DYNDTWAIN_API::DTWAIN_EnumDoubleFeedDetectLengths = nullptr;
    D_ENUMDOUBLEFEEDDETECTLENGTHSEXFUNC           DYNDTWAIN_API::DTWAIN_EnumDoubleFeedDetectLengthsEx = nullptr;
    D_ENUMDOUBLEFEEDDETECTVALUESFUNC              DYNDTWAIN_API::DTWAIN_EnumDoubleFeedDetectValues = nullptr;
    D_ENUMDOUBLEFEEDDETECTVALUESEXFUNC            DYNDTWAIN_API::DTWAIN_EnumDoubleFeedDetectValuesEx = nullptr;
    D_ENUMEXTIMAGEINFOTYPESFUNC                   DYNDTWAIN_API::DTWAIN_EnumExtImageInfoTypes = nullptr;
    D_ENUMEXTIMAGEINFOTYPESEXFUNC                 DYNDTWAIN_API::DTWAIN_EnumExtImageInfoTypesEx = nullptr;
    D_ENUMEXTENDEDCAPSFUNC                        DYNDTWAIN_API::DTWAIN_EnumExtendedCaps = nullptr;
    D_ENUMEXTENDEDCAPSEXFUNC                      DYNDTWAIN_API::DTWAIN_EnumExtendedCapsEx = nullptr;
    D_ENUMEXTENDEDCAPSEX2FUNC                     DYNDTWAIN_API::DTWAIN_EnumExtendedCapsEx2 = nullptr;
    D_ENUMFILETYPEBITSPERPIXELFUNC                DYNDTWAIN_API::DTWAIN_EnumFileTypeBitsPerPixel = nullptr;
    D_ENUMFILEXFERFORMATSFUNC                     DYNDTWAIN_API::DTWAIN_EnumFileXferFormats = nullptr;
    D_ENUMFILEXFERFORMATSEXFUNC                   DYNDTWAIN_API::DTWAIN_EnumFileXferFormatsEx = nullptr;
    D_ENUMHALFTONESFUNC                           DYNDTWAIN_API::DTWAIN_EnumHalftones = nullptr;
    D_ENUMHALFTONESEXFUNC                         DYNDTWAIN_API::DTWAIN_EnumHalftonesEx = nullptr;
    D_ENUMHIGHLIGHTVALUESFUNC                     DYNDTWAIN_API::DTWAIN_EnumHighlightValues = nullptr;
    D_ENUMHIGHLIGHTVALUESEXFUNC                   DYNDTWAIN_API::DTWAIN_EnumHighlightValuesEx = nullptr;
    D_ENUMJOBCONTROLSFUNC                         DYNDTWAIN_API::DTWAIN_EnumJobControls = nullptr;
    D_ENUMJOBCONTROLSEXFUNC                       DYNDTWAIN_API::DTWAIN_EnumJobControlsEx = nullptr;
    D_ENUMLIGHTPATHSFUNC                          DYNDTWAIN_API::DTWAIN_EnumLightPaths = nullptr;
    D_ENUMLIGHTPATHSEXFUNC                        DYNDTWAIN_API::DTWAIN_EnumLightPathsEx = nullptr;
    D_ENUMLIGHTSOURCESFUNC                        DYNDTWAIN_API::DTWAIN_EnumLightSources = nullptr;
    D_ENUMLIGHTSOURCESEXFUNC                      DYNDTWAIN_API::DTWAIN_EnumLightSourcesEx = nullptr;
    D_ENUMMAXBUFFERSFUNC                          DYNDTWAIN_API::DTWAIN_EnumMaxBuffers = nullptr;
    D_ENUMMAXBUFFERSEXFUNC                        DYNDTWAIN_API::DTWAIN_EnumMaxBuffersEx = nullptr;
    D_ENUMNOISEFILTERSFUNC                        DYNDTWAIN_API::DTWAIN_EnumNoiseFilters = nullptr;
    D_ENUMNOISEFILTERSEXFUNC                      DYNDTWAIN_API::DTWAIN_EnumNoiseFiltersEx = nullptr;
    D_ENUMOCRINTERFACESFUNC                       DYNDTWAIN_API::DTWAIN_EnumOCRInterfaces = nullptr;
    D_ENUMOCRINTERFACESEXFUNC                     DYNDTWAIN_API::DTWAIN_EnumOCRInterfacesEx = nullptr;
    D_ENUMOCRSUPPORTEDCAPSFUNC                    DYNDTWAIN_API::DTWAIN_EnumOCRSupportedCaps = nullptr;
    D_ENUMORIENTATIONSFUNC                        DYNDTWAIN_API::DTWAIN_EnumOrientations = nullptr;
    D_ENUMORIENTATIONSEXFUNC                      DYNDTWAIN_API::DTWAIN_EnumOrientationsEx = nullptr;
    D_ENUMOVERSCANVALUESFUNC                      DYNDTWAIN_API::DTWAIN_EnumOverscanValues = nullptr;
    D_ENUMOVERSCANVALUESEXFUNC                    DYNDTWAIN_API::DTWAIN_EnumOverscanValuesEx = nullptr;
    D_ENUMPAPERSIZESFUNC                          DYNDTWAIN_API::DTWAIN_EnumPaperSizes = nullptr;
    D_ENUMPAPERSIZESEXFUNC                        DYNDTWAIN_API::DTWAIN_EnumPaperSizesEx = nullptr;
    D_ENUMPATCHCODECODESFUNC                      DYNDTWAIN_API::DTWAIN_EnumPatchcodeCodes = nullptr;
    D_ENUMPATCHCODECODESEXFUNC                    DYNDTWAIN_API::DTWAIN_EnumPatchcodeCodesEx = nullptr;
    D_ENUMPATCHCODEMAXPRIORITIESFUNC              DYNDTWAIN_API::DTWAIN_EnumPatchcodeMaxPriorities = nullptr;
    D_ENUMPATCHCODEMAXPRIORITIESEXFUNC            DYNDTWAIN_API::DTWAIN_EnumPatchcodeMaxPrioritiesEx = nullptr;
    D_ENUMPATCHCODEMAXRETRIESFUNC                 DYNDTWAIN_API::DTWAIN_EnumPatchcodeMaxRetries = nullptr;
    D_ENUMPATCHCODEMAXRETRIESEXFUNC               DYNDTWAIN_API::DTWAIN_EnumPatchcodeMaxRetriesEx = nullptr;
    D_ENUMPATCHCODEPRIORITIESFUNC                 DYNDTWAIN_API::DTWAIN_EnumPatchcodePriorities = nullptr;
    D_ENUMPATCHCODEPRIORITIESEXFUNC               DYNDTWAIN_API::DTWAIN_EnumPatchcodePrioritiesEx = nullptr;
    D_ENUMPATCHCODESEARCHMODESFUNC                DYNDTWAIN_API::DTWAIN_EnumPatchcodeSearchModes = nullptr;
    D_ENUMPATCHCODESEARCHMODESEXFUNC              DYNDTWAIN_API::DTWAIN_EnumPatchcodeSearchModesEx = nullptr;
    D_ENUMPATCHCODETIMEOUTVALUESFUNC              DYNDTWAIN_API::DTWAIN_EnumPatchcodeTimeOutValues = nullptr;
    D_ENUMPATCHCODETIMEOUTVALUESEXFUNC            DYNDTWAIN_API::DTWAIN_EnumPatchcodeTimeOutValuesEx = nullptr;
    D_ENUMPIXELTYPESFUNC                          DYNDTWAIN_API::DTWAIN_EnumPixelTypes = nullptr;
    D_ENUMPIXELTYPESEXFUNC                        DYNDTWAIN_API::DTWAIN_EnumPixelTypesEx = nullptr;
    D_ENUMPRINTERSTRINGMODESFUNC                  DYNDTWAIN_API::DTWAIN_EnumPrinterStringModes = nullptr;
    D_ENUMPRINTERSTRINGMODESEXFUNC                DYNDTWAIN_API::DTWAIN_EnumPrinterStringModesEx = nullptr;
    D_ENUMRESOLUTIONVALUESFUNC                    DYNDTWAIN_API::DTWAIN_EnumResolutionValues = nullptr;
    D_ENUMRESOLUTIONVALUESEXFUNC                  DYNDTWAIN_API::DTWAIN_EnumResolutionValuesEx = nullptr;
    D_ENUMSHADOWVALUESFUNC                        DYNDTWAIN_API::DTWAIN_EnumShadowValues = nullptr;
    D_ENUMSHADOWVALUESEXFUNC                      DYNDTWAIN_API::DTWAIN_EnumShadowValuesEx = nullptr;
    D_ENUMSOURCEUNITSFUNC                         DYNDTWAIN_API::DTWAIN_EnumSourceUnits = nullptr;
    D_ENUMSOURCEUNITSEXFUNC                       DYNDTWAIN_API::DTWAIN_EnumSourceUnitsEx = nullptr;
    D_ENUMSOURCEVALUESFUNC                        DYNDTWAIN_API::DTWAIN_EnumSourceValues = nullptr;
    D_ENUMSOURCEVALUESAFUNC                       DYNDTWAIN_API::DTWAIN_EnumSourceValuesA = nullptr;
    D_ENUMSOURCEVALUESWFUNC                       DYNDTWAIN_API::DTWAIN_EnumSourceValuesW = nullptr;
    D_ENUMSOURCESFUNC                             DYNDTWAIN_API::DTWAIN_EnumSources = nullptr;
    D_ENUMSOURCESEXFUNC                           DYNDTWAIN_API::DTWAIN_EnumSourcesEx = nullptr;
    D_ENUMSUPPORTEDCAPSFUNC                       DYNDTWAIN_API::DTWAIN_EnumSupportedCaps = nullptr;
    D_ENUMSUPPORTEDCAPSEXFUNC                     DYNDTWAIN_API::DTWAIN_EnumSupportedCapsEx = nullptr;
    D_ENUMSUPPORTEDCAPSEX2FUNC                    DYNDTWAIN_API::DTWAIN_EnumSupportedCapsEx2 = nullptr;
    D_ENUMSUPPORTEDEXTIMAGEINFOFUNC               DYNDTWAIN_API::DTWAIN_EnumSupportedExtImageInfo = nullptr;
    D_ENUMSUPPORTEDEXTIMAGEINFOEXFUNC             DYNDTWAIN_API::DTWAIN_EnumSupportedExtImageInfoEx = nullptr;
    D_ENUMSUPPORTEDFILETYPESFUNC                  DYNDTWAIN_API::DTWAIN_EnumSupportedFileTypes = nullptr;
    D_ENUMSUPPORTEDMULTIPAGEFILETYPESFUNC         DYNDTWAIN_API::DTWAIN_EnumSupportedMultiPageFileTypes = nullptr;
    D_ENUMSUPPORTEDSINGLEPAGEFILETYPESFUNC        DYNDTWAIN_API::DTWAIN_EnumSupportedSinglePageFileTypes = nullptr;
    D_ENUMTHRESHOLDVALUESFUNC                     DYNDTWAIN_API::DTWAIN_EnumThresholdValues = nullptr;
    D_ENUMTHRESHOLDVALUESEXFUNC                   DYNDTWAIN_API::DTWAIN_EnumThresholdValuesEx = nullptr;
    D_ENUMTOPCAMERASFUNC                          DYNDTWAIN_API::DTWAIN_EnumTopCameras = nullptr;
    D_ENUMTOPCAMERASEXFUNC                        DYNDTWAIN_API::DTWAIN_EnumTopCamerasEx = nullptr;
    D_ENUMTWAINPRINTERSFUNC                       DYNDTWAIN_API::DTWAIN_EnumTwainPrinters = nullptr;
    D_ENUMTWAINPRINTERSEXFUNC                     DYNDTWAIN_API::DTWAIN_EnumTwainPrintersEx = nullptr;
    D_ENUMXRESOLUTIONVALUESFUNC                   DYNDTWAIN_API::DTWAIN_EnumXResolutionValues = nullptr;
    D_ENUMXRESOLUTIONVALUESEXFUNC                 DYNDTWAIN_API::DTWAIN_EnumXResolutionValuesEx = nullptr;
    D_ENUMYRESOLUTIONVALUESFUNC                   DYNDTWAIN_API::DTWAIN_EnumYResolutionValues = nullptr;
    D_ENUMYRESOLUTIONVALUESEXFUNC                 DYNDTWAIN_API::DTWAIN_EnumYResolutionValuesEx = nullptr;
    D_EXECUTEOCRFUNC                              DYNDTWAIN_API::DTWAIN_ExecuteOCR = nullptr;
    D_EXECUTEOCRAFUNC                             DYNDTWAIN_API::DTWAIN_ExecuteOCRA = nullptr;
    D_EXECUTEOCRWFUNC                             DYNDTWAIN_API::DTWAIN_ExecuteOCRW = nullptr;
    D_FEEDPAGEFUNC                                DYNDTWAIN_API::DTWAIN_FeedPage = nullptr;
    D_FLIPBITMAPFUNC                              DYNDTWAIN_API::DTWAIN_FlipBitmap = nullptr;
    D_FLUSHACQUIREDPAGESFUNC                      DYNDTWAIN_API::DTWAIN_FlushAcquiredPages = nullptr;
    D_FRAMECREATEFUNC                             DYNDTWAIN_API::DTWAIN_FrameCreate = nullptr;
    D_FRAMECREATESTRINGFUNC                       DYNDTWAIN_API::DTWAIN_FrameCreateString = nullptr;
    D_FRAMECREATESTRINGAFUNC                      DYNDTWAIN_API::DTWAIN_FrameCreateStringA = nullptr;
    D_FRAMECREATESTRINGWFUNC                      DYNDTWAIN_API::DTWAIN_FrameCreateStringW = nullptr;
    D_FRAMEDESTROYFUNC                            DYNDTWAIN_API::DTWAIN_FrameDestroy = nullptr;
    D_FRAMEGETALLFUNC                             DYNDTWAIN_API::DTWAIN_FrameGetAll = nullptr;
    D_FRAMEGETALLSTRINGFUNC                       DYNDTWAIN_API::DTWAIN_FrameGetAllString = nullptr;
    D_FRAMEGETALLSTRINGAFUNC                      DYNDTWAIN_API::DTWAIN_FrameGetAllStringA = nullptr;
    D_FRAMEGETALLSTRINGWFUNC                      DYNDTWAIN_API::DTWAIN_FrameGetAllStringW = nullptr;
    D_FRAMEGETVALUEFUNC                           DYNDTWAIN_API::DTWAIN_FrameGetValue = nullptr;
    D_FRAMEGETVALUESTRINGFUNC                     DYNDTWAIN_API::DTWAIN_FrameGetValueString = nullptr;
    D_FRAMEGETVALUESTRINGAFUNC                    DYNDTWAIN_API::DTWAIN_FrameGetValueStringA = nullptr;
    D_FRAMEGETVALUESTRINGWFUNC                    DYNDTWAIN_API::DTWAIN_FrameGetValueStringW = nullptr;
    D_FRAMEISVALIDFUNC                            DYNDTWAIN_API::DTWAIN_FrameIsValid = nullptr;
    D_FRAMESETALLFUNC                             DYNDTWAIN_API::DTWAIN_FrameSetAll = nullptr;
    D_FRAMESETALLSTRINGFUNC                       DYNDTWAIN_API::DTWAIN_FrameSetAllString = nullptr;
    D_FRAMESETALLSTRINGAFUNC                      DYNDTWAIN_API::DTWAIN_FrameSetAllStringA = nullptr;
    D_FRAMESETALLSTRINGWFUNC                      DYNDTWAIN_API::DTWAIN_FrameSetAllStringW = nullptr;
    D_FRAMESETVALUEFUNC                           DYNDTWAIN_API::DTWAIN_FrameSetValue = nullptr;
    D_FRAMESETVALUESTRINGFUNC                     DYNDTWAIN_API::DTWAIN_FrameSetValueString = nullptr;
    D_FRAMESETVALUESTRINGAFUNC                    DYNDTWAIN_API::DTWAIN_FrameSetValueStringA = nullptr;
    D_FRAMESETVALUESTRINGWFUNC                    DYNDTWAIN_API::DTWAIN_FrameSetValueStringW = nullptr;
    D_FREEEXTIMAGEINFOFUNC                        DYNDTWAIN_API::DTWAIN_FreeExtImageInfo = nullptr;
    D_FREEMEMORYFUNC                              DYNDTWAIN_API::DTWAIN_FreeMemory = nullptr;
    D_FREEMEMORYEXFUNC                            DYNDTWAIN_API::DTWAIN_FreeMemoryEx = nullptr;
    D_GETAPIHANDLESTATUSFUNC                      DYNDTWAIN_API::DTWAIN_GetAPIHandleStatus = nullptr;
    D_GETACQUIREAREAFUNC                          DYNDTWAIN_API::DTWAIN_GetAcquireArea = nullptr;
    D_GETACQUIREAREA2FUNC                         DYNDTWAIN_API::DTWAIN_GetAcquireArea2 = nullptr;
    D_GETACQUIREAREA2STRINGFUNC                   DYNDTWAIN_API::DTWAIN_GetAcquireArea2String = nullptr;
    D_GETACQUIREAREA2STRINGAFUNC                  DYNDTWAIN_API::DTWAIN_GetAcquireArea2StringA = nullptr;
    D_GETACQUIREAREA2STRINGWFUNC                  DYNDTWAIN_API::DTWAIN_GetAcquireArea2StringW = nullptr;
    D_GETACQUIREAREAEXFUNC                        DYNDTWAIN_API::DTWAIN_GetAcquireAreaEx = nullptr;
    D_GETACQUIREMETRICSFUNC                       DYNDTWAIN_API::DTWAIN_GetAcquireMetrics = nullptr;
    D_GETACQUIRESTRIPBUFFERFUNC                   DYNDTWAIN_API::DTWAIN_GetAcquireStripBuffer = nullptr;
    D_GETACQUIRESTRIPDATAFUNC                     DYNDTWAIN_API::DTWAIN_GetAcquireStripData = nullptr;
    D_GETACQUIRESTRIPSIZESFUNC                    DYNDTWAIN_API::DTWAIN_GetAcquireStripSizes = nullptr;
    D_GETACQUIREDIMAGEFUNC                        DYNDTWAIN_API::DTWAIN_GetAcquiredImage = nullptr;
    D_GETACQUIREDIMAGEARRAYFUNC                   DYNDTWAIN_API::DTWAIN_GetAcquiredImageArray = nullptr;
    D_GETACQUISITIONARRAYFUNC                     DYNDTWAIN_API::DTWAIN_GetAcquisitionArray = nullptr;
    D_GETACTIVEDSMPATHFUNC                        DYNDTWAIN_API::DTWAIN_GetActiveDSMPath = nullptr;
    D_GETACTIVEDSMPATHAFUNC                       DYNDTWAIN_API::DTWAIN_GetActiveDSMPathA = nullptr;
    D_GETACTIVEDSMPATHWFUNC                       DYNDTWAIN_API::DTWAIN_GetActiveDSMPathW = nullptr;
    D_GETACTIVEDSMVERSIONINFOFUNC                 DYNDTWAIN_API::DTWAIN_GetActiveDSMVersionInfo = nullptr;
    D_GETACTIVEDSMVERSIONINFOAFUNC                DYNDTWAIN_API::DTWAIN_GetActiveDSMVersionInfoA = nullptr;
    D_GETACTIVEDSMVERSIONINFOWFUNC                DYNDTWAIN_API::DTWAIN_GetActiveDSMVersionInfoW = nullptr;
    D_GETALARMVOLUMEFUNC                          DYNDTWAIN_API::DTWAIN_GetAlarmVolume = nullptr;
    D_GETALLSOURCEDIBSFUNC                        DYNDTWAIN_API::DTWAIN_GetAllSourceDibs = nullptr;
    D_GETAPPINFOFUNC                              DYNDTWAIN_API::DTWAIN_GetAppInfo = nullptr;
    D_GETAPPINFOAFUNC                             DYNDTWAIN_API::DTWAIN_GetAppInfoA = nullptr;
    D_GETAPPINFOWFUNC                             DYNDTWAIN_API::DTWAIN_GetAppInfoW = nullptr;
    D_GETAUTHORFUNC                               DYNDTWAIN_API::DTWAIN_GetAuthor = nullptr;
    D_GETAUTHORAFUNC                              DYNDTWAIN_API::DTWAIN_GetAuthorA = nullptr;
    D_GETAUTHORWFUNC                              DYNDTWAIN_API::DTWAIN_GetAuthorW = nullptr;
    D_GETBARCODEMAXPRIORITIESFUNC                 DYNDTWAIN_API::DTWAIN_GetBarcodeMaxPriorities = nullptr;
    D_GETBARCODEMAXRETRIESFUNC                    DYNDTWAIN_API::DTWAIN_GetBarcodeMaxRetries = nullptr;
    D_GETBARCODEPRIORITIESFUNC                    DYNDTWAIN_API::DTWAIN_GetBarcodePriorities = nullptr;
    D_GETBARCODESEARCHMODEFUNC                    DYNDTWAIN_API::DTWAIN_GetBarcodeSearchMode = nullptr;
    D_GETBARCODETIMEOUTFUNC                       DYNDTWAIN_API::DTWAIN_GetBarcodeTimeOut = nullptr;
    D_GETBATTERYMINUTESFUNC                       DYNDTWAIN_API::DTWAIN_GetBatteryMinutes = nullptr;
    D_GETBATTERYPERCENTFUNC                       DYNDTWAIN_API::DTWAIN_GetBatteryPercent = nullptr;
    D_GETBITDEPTHFUNC                             DYNDTWAIN_API::DTWAIN_GetBitDepth = nullptr;
    D_GETBITDEPTHEXFUNC                           DYNDTWAIN_API::DTWAIN_GetBitDepthEx = nullptr;
    D_GETBLANKPAGEAUTODETECTIONFUNC               DYNDTWAIN_API::DTWAIN_GetBlankPageAutoDetection = nullptr;
    D_GETBRIGHTNESSFUNC                           DYNDTWAIN_API::DTWAIN_GetBrightness = nullptr;
    D_GETBRIGHTNESSEXFUNC                         DYNDTWAIN_API::DTWAIN_GetBrightnessEx = nullptr;
    D_GETBRIGHTNESSSTRINGFUNC                     DYNDTWAIN_API::DTWAIN_GetBrightnessString = nullptr;
    D_GETBRIGHTNESSSTRINGAFUNC                    DYNDTWAIN_API::DTWAIN_GetBrightnessStringA = nullptr;
    D_GETBRIGHTNESSSTRINGWFUNC                    DYNDTWAIN_API::DTWAIN_GetBrightnessStringW = nullptr;
    D_GETBUFFEREDTRANSFERINFOFUNC                 DYNDTWAIN_API::DTWAIN_GetBufferedTransferInfo = nullptr;
    D_GETCALLBACKFUNC                             DYNDTWAIN_API::DTWAIN_GetCallback = nullptr;
    D_GETCALLBACK64FUNC                           DYNDTWAIN_API::DTWAIN_GetCallback64 = nullptr;
    D_GETCAPARRAYTYPEFUNC                         DYNDTWAIN_API::DTWAIN_GetCapArrayType = nullptr;
    D_GETCAPCONTAINERFUNC                         DYNDTWAIN_API::DTWAIN_GetCapContainer = nullptr;
    D_GETCAPCONTAINEREXFUNC                       DYNDTWAIN_API::DTWAIN_GetCapContainerEx = nullptr;
    D_GETCAPCONTAINEREX2FUNC                      DYNDTWAIN_API::DTWAIN_GetCapContainerEx2 = nullptr;
    D_GETCAPDATATYPEFUNC                          DYNDTWAIN_API::DTWAIN_GetCapDataType = nullptr;
    D_GETCAPFROMNAMEFUNC                          DYNDTWAIN_API::DTWAIN_GetCapFromName = nullptr;
    D_GETCAPFROMNAMEAFUNC                         DYNDTWAIN_API::DTWAIN_GetCapFromNameA = nullptr;
    D_GETCAPFROMNAMEWFUNC                         DYNDTWAIN_API::DTWAIN_GetCapFromNameW = nullptr;
    D_GETCAPHELPFUNC                              DYNDTWAIN_API::DTWAIN_GetCapHelp = nullptr;
    D_GETCAPHELPAFUNC                             DYNDTWAIN_API::DTWAIN_GetCapHelpA = nullptr;
    D_GETCAPHELPWFUNC                             DYNDTWAIN_API::DTWAIN_GetCapHelpW = nullptr;
    D_GETCAPLABELFUNC                             DYNDTWAIN_API::DTWAIN_GetCapLabel = nullptr;
    D_GETCAPLABELAFUNC                            DYNDTWAIN_API::DTWAIN_GetCapLabelA = nullptr;
    D_GETCAPLABELWFUNC                            DYNDTWAIN_API::DTWAIN_GetCapLabelW = nullptr;
    D_GETCAPOPERATIONSFUNC                        DYNDTWAIN_API::DTWAIN_GetCapOperations = nullptr;
    D_GETCAPOPERATIONSEXFUNC                      DYNDTWAIN_API::DTWAIN_GetCapOperationsEx = nullptr;
    D_GETCAPVALUESFUNC                            DYNDTWAIN_API::DTWAIN_GetCapValues = nullptr;
    D_GETCAPVALUESEXFUNC                          DYNDTWAIN_API::DTWAIN_GetCapValuesEx = nullptr;
    D_GETCAPVALUESEX2FUNC                         DYNDTWAIN_API::DTWAIN_GetCapValuesEx2 = nullptr;
    D_GETCAPTIONFUNC                              DYNDTWAIN_API::DTWAIN_GetCaption = nullptr;
    D_GETCAPTIONAFUNC                             DYNDTWAIN_API::DTWAIN_GetCaptionA = nullptr;
    D_GETCAPTIONWFUNC                             DYNDTWAIN_API::DTWAIN_GetCaptionW = nullptr;
    D_GETCOMPRESSIONSIZEFUNC                      DYNDTWAIN_API::DTWAIN_GetCompressionSize = nullptr;
    D_GETCOMPRESSIONTYPEFUNC                      DYNDTWAIN_API::DTWAIN_GetCompressionType = nullptr;
    D_GETCOMPRESSIONTYPEEXFUNC                    DYNDTWAIN_API::DTWAIN_GetCompressionTypeEx = nullptr;
    D_GETCONDITIONCODESTRINGFUNC                  DYNDTWAIN_API::DTWAIN_GetConditionCodeString = nullptr;
    D_GETCONDITIONCODESTRINGAFUNC                 DYNDTWAIN_API::DTWAIN_GetConditionCodeStringA = nullptr;
    D_GETCONDITIONCODESTRINGWFUNC                 DYNDTWAIN_API::DTWAIN_GetConditionCodeStringW = nullptr;
    D_GETCONSTANTFROMTWAINNAMEFUNC                DYNDTWAIN_API::DTWAIN_GetConstantFromTwainName = nullptr;
    D_GETCONSTANTFROMTWAINNAMEAFUNC               DYNDTWAIN_API::DTWAIN_GetConstantFromTwainNameA = nullptr;
    D_GETCONSTANTFROMTWAINNAMEWFUNC               DYNDTWAIN_API::DTWAIN_GetConstantFromTwainNameW = nullptr;
    D_GETCONTRASTFUNC                             DYNDTWAIN_API::DTWAIN_GetContrast = nullptr;
    D_GETCONTRASTEXFUNC                           DYNDTWAIN_API::DTWAIN_GetContrastEx = nullptr;
    D_GETCONTRASTSTRINGFUNC                       DYNDTWAIN_API::DTWAIN_GetContrastString = nullptr;
    D_GETCONTRASTSTRINGAFUNC                      DYNDTWAIN_API::DTWAIN_GetContrastStringA = nullptr;
    D_GETCONTRASTSTRINGWFUNC                      DYNDTWAIN_API::DTWAIN_GetContrastStringW = nullptr;
    D_GETCOUNTRYFUNC                              DYNDTWAIN_API::DTWAIN_GetCountry = nullptr;
    D_GETCURRENTACQUIREDIMAGEFUNC                 DYNDTWAIN_API::DTWAIN_GetCurrentAcquiredImage = nullptr;
    D_GETCURRENTFILENAMEFUNC                      DYNDTWAIN_API::DTWAIN_GetCurrentFileName = nullptr;
    D_GETCURRENTFILENAMEAFUNC                     DYNDTWAIN_API::DTWAIN_GetCurrentFileNameA = nullptr;
    D_GETCURRENTFILENAMEWFUNC                     DYNDTWAIN_API::DTWAIN_GetCurrentFileNameW = nullptr;
    D_GETCURRENTPAGENUMFUNC                       DYNDTWAIN_API::DTWAIN_GetCurrentPageNum = nullptr;
    D_GETCURRENTRETRYCOUNTFUNC                    DYNDTWAIN_API::DTWAIN_GetCurrentRetryCount = nullptr;
    D_GETCURRENTTWAINTRIPLETFUNC                  DYNDTWAIN_API::DTWAIN_GetCurrentTwainTriplet = nullptr;
    D_GETCUSTOMDSDATAFUNC                         DYNDTWAIN_API::DTWAIN_GetCustomDSData = nullptr;
    D_GETDSMFULLNAMEFUNC                          DYNDTWAIN_API::DTWAIN_GetDSMFullName = nullptr;
    D_GETDSMFULLNAMEAFUNC                         DYNDTWAIN_API::DTWAIN_GetDSMFullNameA = nullptr;
    D_GETDSMFULLNAMEWFUNC                         DYNDTWAIN_API::DTWAIN_GetDSMFullNameW = nullptr;
    D_GETDSMSEARCHORDERFUNC                       DYNDTWAIN_API::DTWAIN_GetDSMSearchOrder = nullptr;
    D_GETDSMSEARCHORDEREXFUNC                     DYNDTWAIN_API::DTWAIN_GetDSMSearchOrderEx = nullptr;
    D_GETDSMSEARCHORDEREXAFUNC                    DYNDTWAIN_API::DTWAIN_GetDSMSearchOrderExA = nullptr;
    D_GETDSMSEARCHORDEREXWFUNC                    DYNDTWAIN_API::DTWAIN_GetDSMSearchOrderExW = nullptr;
    D_GETDTWAINHANDLEFUNC                         DYNDTWAIN_API::DTWAIN_GetDTWAINHandle = nullptr;
    D_GETDEVICEEVENTFUNC                          DYNDTWAIN_API::DTWAIN_GetDeviceEvent = nullptr;
    D_GETDEVICEEVENTEXFUNC                        DYNDTWAIN_API::DTWAIN_GetDeviceEventEx = nullptr;
    D_GETDEVICEEVENTINFOFUNC                      DYNDTWAIN_API::DTWAIN_GetDeviceEventInfo = nullptr;
    D_GETDEVICENOTIFICATIONSFUNC                  DYNDTWAIN_API::DTWAIN_GetDeviceNotifications = nullptr;
    D_GETDEVICETIMEDATEFUNC                       DYNDTWAIN_API::DTWAIN_GetDeviceTimeDate = nullptr;
    D_GETDEVICETIMEDATEAFUNC                      DYNDTWAIN_API::DTWAIN_GetDeviceTimeDateA = nullptr;
    D_GETDEVICETIMEDATEWFUNC                      DYNDTWAIN_API::DTWAIN_GetDeviceTimeDateW = nullptr;
    D_GETDOUBLEFEEDDETECTLENGTHFUNC               DYNDTWAIN_API::DTWAIN_GetDoubleFeedDetectLength = nullptr;
    D_GETDOUBLEFEEDDETECTVALUESFUNC               DYNDTWAIN_API::DTWAIN_GetDoubleFeedDetectValues = nullptr;
    D_GETDUPLEXTYPEFUNC                           DYNDTWAIN_API::DTWAIN_GetDuplexType = nullptr;
    D_GETDUPLEXTYPEEXFUNC                         DYNDTWAIN_API::DTWAIN_GetDuplexTypeEx = nullptr;
    D_GETERRORBUFFERFUNC                          DYNDTWAIN_API::DTWAIN_GetErrorBuffer = nullptr;
    D_GETERRORBUFFERTHRESHOLDFUNC                 DYNDTWAIN_API::DTWAIN_GetErrorBufferThreshold = nullptr;
    D_GETERRORCALLBACKFUNC                        DYNDTWAIN_API::DTWAIN_GetErrorCallback = nullptr;
    D_GETERRORCALLBACK64FUNC                      DYNDTWAIN_API::DTWAIN_GetErrorCallback64 = nullptr;
    D_GETERRORSTRINGFUNC                          DYNDTWAIN_API::DTWAIN_GetErrorString = nullptr;
    D_GETERRORSTRINGAFUNC                         DYNDTWAIN_API::DTWAIN_GetErrorStringA = nullptr;
    D_GETERRORSTRINGWFUNC                         DYNDTWAIN_API::DTWAIN_GetErrorStringW = nullptr;
    D_GETEXTCAPFROMNAMEFUNC                       DYNDTWAIN_API::DTWAIN_GetExtCapFromName = nullptr;
    D_GETEXTCAPFROMNAMEAFUNC                      DYNDTWAIN_API::DTWAIN_GetExtCapFromNameA = nullptr;
    D_GETEXTCAPFROMNAMEWFUNC                      DYNDTWAIN_API::DTWAIN_GetExtCapFromNameW = nullptr;
    D_GETEXTIMAGEINFOFUNC                         DYNDTWAIN_API::DTWAIN_GetExtImageInfo = nullptr;
    D_GETEXTIMAGEINFODATAFUNC                     DYNDTWAIN_API::DTWAIN_GetExtImageInfoData = nullptr;
    D_GETEXTIMAGEINFODATAEXFUNC                   DYNDTWAIN_API::DTWAIN_GetExtImageInfoDataEx = nullptr;
    D_GETEXTIMAGEINFOITEMFUNC                     DYNDTWAIN_API::DTWAIN_GetExtImageInfoItem = nullptr;
    D_GETEXTIMAGEINFOITEMEXFUNC                   DYNDTWAIN_API::DTWAIN_GetExtImageInfoItemEx = nullptr;
    D_GETEXTNAMEFROMCAPFUNC                       DYNDTWAIN_API::DTWAIN_GetExtNameFromCap = nullptr;
    D_GETEXTNAMEFROMCAPAFUNC                      DYNDTWAIN_API::DTWAIN_GetExtNameFromCapA = nullptr;
    D_GETEXTNAMEFROMCAPWFUNC                      DYNDTWAIN_API::DTWAIN_GetExtNameFromCapW = nullptr;
    D_GETFEEDERALIGNMENTFUNC                      DYNDTWAIN_API::DTWAIN_GetFeederAlignment = nullptr;
    D_GETFEEDERFUNCSFUNC                          DYNDTWAIN_API::DTWAIN_GetFeederFuncs = nullptr;
    D_GETFEEDERORDERFUNC                          DYNDTWAIN_API::DTWAIN_GetFeederOrder = nullptr;
    D_GETFEEDERWAITTIMEFUNC                       DYNDTWAIN_API::DTWAIN_GetFeederWaitTime = nullptr;
    D_GETFILECOMPRESSIONTYPEFUNC                  DYNDTWAIN_API::DTWAIN_GetFileCompressionType = nullptr;
    D_GETFILESAVEPAGECOUNTFUNC                    DYNDTWAIN_API::DTWAIN_GetFileSavePageCount = nullptr;
    D_GETFILETYPEEXTENSIONSFUNC                   DYNDTWAIN_API::DTWAIN_GetFileTypeExtensions = nullptr;
    D_GETFILETYPEEXTENSIONSAFUNC                  DYNDTWAIN_API::DTWAIN_GetFileTypeExtensionsA = nullptr;
    D_GETFILETYPEEXTENSIONSWFUNC                  DYNDTWAIN_API::DTWAIN_GetFileTypeExtensionsW = nullptr;
    D_GETFILETYPENAMEFUNC                         DYNDTWAIN_API::DTWAIN_GetFileTypeName = nullptr;
    D_GETFILETYPENAMEAFUNC                        DYNDTWAIN_API::DTWAIN_GetFileTypeNameA = nullptr;
    D_GETFILETYPENAMEWFUNC                        DYNDTWAIN_API::DTWAIN_GetFileTypeNameW = nullptr;
    D_GETHALFTONEFUNC                             DYNDTWAIN_API::DTWAIN_GetHalftone = nullptr;
    D_GETHALFTONEAFUNC                            DYNDTWAIN_API::DTWAIN_GetHalftoneA = nullptr;
    D_GETHALFTONEWFUNC                            DYNDTWAIN_API::DTWAIN_GetHalftoneW = nullptr;
    D_GETHIGHLIGHTFUNC                            DYNDTWAIN_API::DTWAIN_GetHighlight = nullptr;
    D_GETHIGHLIGHTSTRINGFUNC                      DYNDTWAIN_API::DTWAIN_GetHighlightString = nullptr;
    D_GETHIGHLIGHTSTRINGAFUNC                     DYNDTWAIN_API::DTWAIN_GetHighlightStringA = nullptr;
    D_GETHIGHLIGHTSTRINGWFUNC                     DYNDTWAIN_API::DTWAIN_GetHighlightStringW = nullptr;
    D_GETIMAGEINFOFUNC                            DYNDTWAIN_API::DTWAIN_GetImageInfo = nullptr;
    D_GETIMAGEINFOSTRINGFUNC                      DYNDTWAIN_API::DTWAIN_GetImageInfoString = nullptr;
    D_GETIMAGEINFOSTRINGAFUNC                     DYNDTWAIN_API::DTWAIN_GetImageInfoStringA = nullptr;
    D_GETIMAGEINFOSTRINGWFUNC                     DYNDTWAIN_API::DTWAIN_GetImageInfoStringW = nullptr;
    D_GETJOBCONTROLFUNC                           DYNDTWAIN_API::DTWAIN_GetJobControl = nullptr;
    D_GETJOBCONTROLEXFUNC                         DYNDTWAIN_API::DTWAIN_GetJobControlEx = nullptr;
    D_GETJPEGVALUESFUNC                           DYNDTWAIN_API::DTWAIN_GetJpegValues = nullptr;
    D_GETJPEGXRVALUESFUNC                         DYNDTWAIN_API::DTWAIN_GetJpegXRValues = nullptr;
    D_GETLANGUAGEFUNC                             DYNDTWAIN_API::DTWAIN_GetLanguage = nullptr;
    D_GETLASTERRORFUNC                            DYNDTWAIN_API::DTWAIN_GetLastError = nullptr;
    D_GETLIBRARYPATHFUNC                          DYNDTWAIN_API::DTWAIN_GetLibraryPath = nullptr;
    D_GETLIBRARYPATHAFUNC                         DYNDTWAIN_API::DTWAIN_GetLibraryPathA = nullptr;
    D_GETLIBRARYPATHWFUNC                         DYNDTWAIN_API::DTWAIN_GetLibraryPathW = nullptr;
    D_GETLIGHTPATHFUNC                            DYNDTWAIN_API::DTWAIN_GetLightPath = nullptr;
    D_GETLIGHTPATHEXFUNC                          DYNDTWAIN_API::DTWAIN_GetLightPathEx = nullptr;
    D_GETLIGHTSOURCEFUNC                          DYNDTWAIN_API::DTWAIN_GetLightSource = nullptr;
    D_GETLIGHTSOURCESFUNC                         DYNDTWAIN_API::DTWAIN_GetLightSources = nullptr;
    D_GETLIGHTSOURCESEXFUNC                       DYNDTWAIN_API::DTWAIN_GetLightSourcesEx = nullptr;
    D_GETLOGGERCALLBACKFUNC                       DYNDTWAIN_API::DTWAIN_GetLoggerCallback = nullptr;
    D_GETLOGGERCALLBACKAFUNC                      DYNDTWAIN_API::DTWAIN_GetLoggerCallbackA = nullptr;
    D_GETLOGGERCALLBACKWFUNC                      DYNDTWAIN_API::DTWAIN_GetLoggerCallbackW = nullptr;
    D_GETMANUALDUPLEXCOUNTFUNC                    DYNDTWAIN_API::DTWAIN_GetManualDuplexCount = nullptr;
    D_GETMAXACQUISITIONSFUNC                      DYNDTWAIN_API::DTWAIN_GetMaxAcquisitions = nullptr;
    D_GETMAXBUFFERSFUNC                           DYNDTWAIN_API::DTWAIN_GetMaxBuffers = nullptr;
    D_GETMAXPAGESTOACQUIREFUNC                    DYNDTWAIN_API::DTWAIN_GetMaxPagesToAcquire = nullptr;
    D_GETMAXRETRYATTEMPTSFUNC                     DYNDTWAIN_API::DTWAIN_GetMaxRetryAttempts = nullptr;
    D_GETNAMEFROMCAPFUNC                          DYNDTWAIN_API::DTWAIN_GetNameFromCap = nullptr;
    D_GETNAMEFROMCAPAFUNC                         DYNDTWAIN_API::DTWAIN_GetNameFromCapA = nullptr;
    D_GETNAMEFROMCAPWFUNC                         DYNDTWAIN_API::DTWAIN_GetNameFromCapW = nullptr;
    D_GETNOISEFILTERFUNC                          DYNDTWAIN_API::DTWAIN_GetNoiseFilter = nullptr;
    D_GETNUMACQUIREDIMAGESFUNC                    DYNDTWAIN_API::DTWAIN_GetNumAcquiredImages = nullptr;
    D_GETNUMACQUISITIONSFUNC                      DYNDTWAIN_API::DTWAIN_GetNumAcquisitions = nullptr;
    D_GETOCRCAPVALUESFUNC                         DYNDTWAIN_API::DTWAIN_GetOCRCapValues = nullptr;
    D_GETOCRERRORSTRINGFUNC                       DYNDTWAIN_API::DTWAIN_GetOCRErrorString = nullptr;
    D_GETOCRERRORSTRINGAFUNC                      DYNDTWAIN_API::DTWAIN_GetOCRErrorStringA = nullptr;
    D_GETOCRERRORSTRINGWFUNC                      DYNDTWAIN_API::DTWAIN_GetOCRErrorStringW = nullptr;
    D_GETOCRLASTERRORFUNC                         DYNDTWAIN_API::DTWAIN_GetOCRLastError = nullptr;
    D_GETOCRMAJORMINORVERSIONFUNC                 DYNDTWAIN_API::DTWAIN_GetOCRMajorMinorVersion = nullptr;
    D_GETOCRMANUFACTURERFUNC                      DYNDTWAIN_API::DTWAIN_GetOCRManufacturer = nullptr;
    D_GETOCRMANUFACTURERAFUNC                     DYNDTWAIN_API::DTWAIN_GetOCRManufacturerA = nullptr;
    D_GETOCRMANUFACTURERWFUNC                     DYNDTWAIN_API::DTWAIN_GetOCRManufacturerW = nullptr;
    D_GETOCRPRODUCTFAMILYFUNC                     DYNDTWAIN_API::DTWAIN_GetOCRProductFamily = nullptr;
    D_GETOCRPRODUCTFAMILYAFUNC                    DYNDTWAIN_API::DTWAIN_GetOCRProductFamilyA = nullptr;
    D_GETOCRPRODUCTFAMILYWFUNC                    DYNDTWAIN_API::DTWAIN_GetOCRProductFamilyW = nullptr;
    D_GETOCRPRODUCTNAMEFUNC                       DYNDTWAIN_API::DTWAIN_GetOCRProductName = nullptr;
    D_GETOCRPRODUCTNAMEAFUNC                      DYNDTWAIN_API::DTWAIN_GetOCRProductNameA = nullptr;
    D_GETOCRPRODUCTNAMEWFUNC                      DYNDTWAIN_API::DTWAIN_GetOCRProductNameW = nullptr;
    D_GETOCRTEXTFUNC                              DYNDTWAIN_API::DTWAIN_GetOCRText = nullptr;
    D_GETOCRTEXTAFUNC                             DYNDTWAIN_API::DTWAIN_GetOCRTextA = nullptr;
    D_GETOCRTEXTINFOFLOATFUNC                     DYNDTWAIN_API::DTWAIN_GetOCRTextInfoFloat = nullptr;
    D_GETOCRTEXTINFOFLOATEXFUNC                   DYNDTWAIN_API::DTWAIN_GetOCRTextInfoFloatEx = nullptr;
    D_GETOCRTEXTINFOHANDLEFUNC                    DYNDTWAIN_API::DTWAIN_GetOCRTextInfoHandle = nullptr;
    D_GETOCRTEXTINFOLONGFUNC                      DYNDTWAIN_API::DTWAIN_GetOCRTextInfoLong = nullptr;
    D_GETOCRTEXTINFOLONGEXFUNC                    DYNDTWAIN_API::DTWAIN_GetOCRTextInfoLongEx = nullptr;
    D_GETOCRTEXTWFUNC                             DYNDTWAIN_API::DTWAIN_GetOCRTextW = nullptr;
    D_GETOCRVERSIONINFOFUNC                       DYNDTWAIN_API::DTWAIN_GetOCRVersionInfo = nullptr;
    D_GETOCRVERSIONINFOAFUNC                      DYNDTWAIN_API::DTWAIN_GetOCRVersionInfoA = nullptr;
    D_GETOCRVERSIONINFOWFUNC                      DYNDTWAIN_API::DTWAIN_GetOCRVersionInfoW = nullptr;
    D_GETORIENTATIONFUNC                          DYNDTWAIN_API::DTWAIN_GetOrientation = nullptr;
    D_GETORIENTATIONEXFUNC                        DYNDTWAIN_API::DTWAIN_GetOrientationEx = nullptr;
    D_GETOVERSCANFUNC                             DYNDTWAIN_API::DTWAIN_GetOverscan = nullptr;
    D_GETPDFTEXTELEMENTFLOATFUNC                  DYNDTWAIN_API::DTWAIN_GetPDFTextElementFloat = nullptr;
    D_GETPDFTEXTELEMENTLONGFUNC                   DYNDTWAIN_API::DTWAIN_GetPDFTextElementLong = nullptr;
    D_GETPDFTEXTELEMENTSTRINGFUNC                 DYNDTWAIN_API::DTWAIN_GetPDFTextElementString = nullptr;
    D_GETPDFTEXTELEMENTSTRINGAFUNC                DYNDTWAIN_API::DTWAIN_GetPDFTextElementStringA = nullptr;
    D_GETPDFTEXTELEMENTSTRINGWFUNC                DYNDTWAIN_API::DTWAIN_GetPDFTextElementStringW = nullptr;
    D_GETPDFTYPE1FONTNAMEFUNC                     DYNDTWAIN_API::DTWAIN_GetPDFType1FontName = nullptr;
    D_GETPDFTYPE1FONTNAMEAFUNC                    DYNDTWAIN_API::DTWAIN_GetPDFType1FontNameA = nullptr;
    D_GETPDFTYPE1FONTNAMEWFUNC                    DYNDTWAIN_API::DTWAIN_GetPDFType1FontNameW = nullptr;
    D_GETPAPERSIZEFUNC                            DYNDTWAIN_API::DTWAIN_GetPaperSize = nullptr;
    D_GETPAPERSIZENAMEFUNC                        DYNDTWAIN_API::DTWAIN_GetPaperSizeName = nullptr;
    D_GETPAPERSIZENAMEAFUNC                       DYNDTWAIN_API::DTWAIN_GetPaperSizeNameA = nullptr;
    D_GETPAPERSIZENAMEWFUNC                       DYNDTWAIN_API::DTWAIN_GetPaperSizeNameW = nullptr;
    D_GETPATCHCODEMAXPRIORITIESFUNC               DYNDTWAIN_API::DTWAIN_GetPatchcodeMaxPriorities = nullptr;
    D_GETPATCHCODEMAXRETRIESFUNC                  DYNDTWAIN_API::DTWAIN_GetPatchcodeMaxRetries = nullptr;
    D_GETPATCHCODEPRIORITIESFUNC                  DYNDTWAIN_API::DTWAIN_GetPatchcodePriorities = nullptr;
    D_GETPATCHCODESEARCHMODEFUNC                  DYNDTWAIN_API::DTWAIN_GetPatchcodeSearchMode = nullptr;
    D_GETPATCHCODETIMEOUTFUNC                     DYNDTWAIN_API::DTWAIN_GetPatchcodeTimeOut = nullptr;
    D_GETPIXELFLAVORFUNC                          DYNDTWAIN_API::DTWAIN_GetPixelFlavor = nullptr;
    D_GETPIXELTYPEFUNC                            DYNDTWAIN_API::DTWAIN_GetPixelType = nullptr;
    D_GETPRINTERFUNC                              DYNDTWAIN_API::DTWAIN_GetPrinter = nullptr;
    D_GETPRINTEREXFUNC                            DYNDTWAIN_API::DTWAIN_GetPrinterEx = nullptr;
    D_GETPRINTERSTARTNUMBERFUNC                   DYNDTWAIN_API::DTWAIN_GetPrinterStartNumber = nullptr;
    D_GETPRINTERSTARTNUMBEREXFUNC                 DYNDTWAIN_API::DTWAIN_GetPrinterStartNumberEx = nullptr;
    D_GETPRINTERSTRINGMODEFUNC                    DYNDTWAIN_API::DTWAIN_GetPrinterStringMode = nullptr;
    D_GETPRINTERSTRINGMODEEXFUNC                  DYNDTWAIN_API::DTWAIN_GetPrinterStringModeEx = nullptr;
    D_GETPRINTERSTRINGSFUNC                       DYNDTWAIN_API::DTWAIN_GetPrinterStrings = nullptr;
    D_GETPRINTERSTRINGSEXFUNC                     DYNDTWAIN_API::DTWAIN_GetPrinterStringsEx = nullptr;
    D_GETPRINTERSUFFIXSTRINGFUNC                  DYNDTWAIN_API::DTWAIN_GetPrinterSuffixString = nullptr;
    D_GETPRINTERSUFFIXSTRINGAFUNC                 DYNDTWAIN_API::DTWAIN_GetPrinterSuffixStringA = nullptr;
    D_GETPRINTERSUFFIXSTRINGWFUNC                 DYNDTWAIN_API::DTWAIN_GetPrinterSuffixStringW = nullptr;
    D_GETREGISTEREDMSGFUNC                        DYNDTWAIN_API::DTWAIN_GetRegisteredMsg = nullptr;
    D_GETRESOLUTIONFUNC                           DYNDTWAIN_API::DTWAIN_GetResolution = nullptr;
    D_GETRESOLUTIONEXFUNC                         DYNDTWAIN_API::DTWAIN_GetResolutionEx = nullptr;
    D_GETRESOLUTIONSTRINGFUNC                     DYNDTWAIN_API::DTWAIN_GetResolutionString = nullptr;
    D_GETRESOLUTIONSTRINGAFUNC                    DYNDTWAIN_API::DTWAIN_GetResolutionStringA = nullptr;
    D_GETRESOLUTIONSTRINGWFUNC                    DYNDTWAIN_API::DTWAIN_GetResolutionStringW = nullptr;
    D_GETRESOURCESTRINGFUNC                       DYNDTWAIN_API::DTWAIN_GetResourceString = nullptr;
    D_GETRESOURCESTRINGAFUNC                      DYNDTWAIN_API::DTWAIN_GetResourceStringA = nullptr;
    D_GETRESOURCESTRINGWFUNC                      DYNDTWAIN_API::DTWAIN_GetResourceStringW = nullptr;
    D_GETROTATIONFUNC                             DYNDTWAIN_API::DTWAIN_GetRotation = nullptr;
    D_GETROTATIONEXFUNC                           DYNDTWAIN_API::DTWAIN_GetRotationEx = nullptr;
    D_GETROTATIONSTRINGFUNC                       DYNDTWAIN_API::DTWAIN_GetRotationString = nullptr;
    D_GETROTATIONSTRINGAFUNC                      DYNDTWAIN_API::DTWAIN_GetRotationStringA = nullptr;
    D_GETROTATIONSTRINGWFUNC                      DYNDTWAIN_API::DTWAIN_GetRotationStringW = nullptr;
    D_GETSAVEFILENAMEFUNC                         DYNDTWAIN_API::DTWAIN_GetSaveFileName = nullptr;
    D_GETSAVEFILENAMEAFUNC                        DYNDTWAIN_API::DTWAIN_GetSaveFileNameA = nullptr;
    D_GETSAVEFILENAMEWFUNC                        DYNDTWAIN_API::DTWAIN_GetSaveFileNameW = nullptr;
    D_GETSESSIONDETAILSFUNC                       DYNDTWAIN_API::DTWAIN_GetSessionDetails = nullptr;
    D_GETSESSIONDETAILSAFUNC                      DYNDTWAIN_API::DTWAIN_GetSessionDetailsA = nullptr;
    D_GETSESSIONDETAILSWFUNC                      DYNDTWAIN_API::DTWAIN_GetSessionDetailsW = nullptr;
    D_GETSHADOWFUNC                               DYNDTWAIN_API::DTWAIN_GetShadow = nullptr;
    D_GETSHADOWSTRINGFUNC                         DYNDTWAIN_API::DTWAIN_GetShadowString = nullptr;
    D_GETSHADOWSTRINGAFUNC                        DYNDTWAIN_API::DTWAIN_GetShadowStringA = nullptr;
    D_GETSHADOWSTRINGWFUNC                        DYNDTWAIN_API::DTWAIN_GetShadowStringW = nullptr;
    D_GETSHORTVERSIONSTRINGFUNC                   DYNDTWAIN_API::DTWAIN_GetShortVersionString = nullptr;
    D_GETSHORTVERSIONSTRINGAFUNC                  DYNDTWAIN_API::DTWAIN_GetShortVersionStringA = nullptr;
    D_GETSHORTVERSIONSTRINGWFUNC                  DYNDTWAIN_API::DTWAIN_GetShortVersionStringW = nullptr;
    D_GETSOURCEACQUISITIONSFUNC                   DYNDTWAIN_API::DTWAIN_GetSourceAcquisitions = nullptr;
    D_GETSOURCEDETAILSFUNC                        DYNDTWAIN_API::DTWAIN_GetSourceDetails = nullptr;
    D_GETSOURCEDETAILSAFUNC                       DYNDTWAIN_API::DTWAIN_GetSourceDetailsA = nullptr;
    D_GETSOURCEDETAILSWFUNC                       DYNDTWAIN_API::DTWAIN_GetSourceDetailsW = nullptr;
    D_GETSOURCEIDFUNC                             DYNDTWAIN_API::DTWAIN_GetSourceID = nullptr;
    D_GETSOURCEIDEXFUNC                           DYNDTWAIN_API::DTWAIN_GetSourceIDEx = nullptr;
    D_GETSOURCEMANUFACTURERFUNC                   DYNDTWAIN_API::DTWAIN_GetSourceManufacturer = nullptr;
    D_GETSOURCEMANUFACTURERAFUNC                  DYNDTWAIN_API::DTWAIN_GetSourceManufacturerA = nullptr;
    D_GETSOURCEMANUFACTURERWFUNC                  DYNDTWAIN_API::DTWAIN_GetSourceManufacturerW = nullptr;
    D_GETSOURCEPRODUCTFAMILYFUNC                  DYNDTWAIN_API::DTWAIN_GetSourceProductFamily = nullptr;
    D_GETSOURCEPRODUCTFAMILYAFUNC                 DYNDTWAIN_API::DTWAIN_GetSourceProductFamilyA = nullptr;
    D_GETSOURCEPRODUCTFAMILYWFUNC                 DYNDTWAIN_API::DTWAIN_GetSourceProductFamilyW = nullptr;
    D_GETSOURCEPRODUCTNAMEFUNC                    DYNDTWAIN_API::DTWAIN_GetSourceProductName = nullptr;
    D_GETSOURCEPRODUCTNAMEAFUNC                   DYNDTWAIN_API::DTWAIN_GetSourceProductNameA = nullptr;
    D_GETSOURCEPRODUCTNAMEWFUNC                   DYNDTWAIN_API::DTWAIN_GetSourceProductNameW = nullptr;
    D_GETSOURCEUNITFUNC                           DYNDTWAIN_API::DTWAIN_GetSourceUnit = nullptr;
    D_GETSOURCEUNITEXFUNC                         DYNDTWAIN_API::DTWAIN_GetSourceUnitEx = nullptr;
    D_GETSOURCEVERSIONINFOFUNC                    DYNDTWAIN_API::DTWAIN_GetSourceVersionInfo = nullptr;
    D_GETSOURCEVERSIONINFOAFUNC                   DYNDTWAIN_API::DTWAIN_GetSourceVersionInfoA = nullptr;
    D_GETSOURCEVERSIONINFOWFUNC                   DYNDTWAIN_API::DTWAIN_GetSourceVersionInfoW = nullptr;
    D_GETSOURCEVERSIONNUMBERFUNC                  DYNDTWAIN_API::DTWAIN_GetSourceVersionNumber = nullptr;
    D_GETSTATICLIBVERSIONFUNC                     DYNDTWAIN_API::DTWAIN_GetStaticLibVersion = nullptr;
    D_GETTEMPFILEDIRECTORYFUNC                    DYNDTWAIN_API::DTWAIN_GetTempFileDirectory = nullptr;
    D_GETTEMPFILEDIRECTORYAFUNC                   DYNDTWAIN_API::DTWAIN_GetTempFileDirectoryA = nullptr;
    D_GETTEMPFILEDIRECTORYWFUNC                   DYNDTWAIN_API::DTWAIN_GetTempFileDirectoryW = nullptr;
    D_GETTHRESHOLDFUNC                            DYNDTWAIN_API::DTWAIN_GetThreshold = nullptr;
    D_GETTHRESHOLDSTRINGFUNC                      DYNDTWAIN_API::DTWAIN_GetThresholdString = nullptr;
    D_GETTHRESHOLDSTRINGAFUNC                     DYNDTWAIN_API::DTWAIN_GetThresholdStringA = nullptr;
    D_GETTHRESHOLDSTRINGWFUNC                     DYNDTWAIN_API::DTWAIN_GetThresholdStringW = nullptr;
    D_GETTIMEDATEFUNC                             DYNDTWAIN_API::DTWAIN_GetTimeDate = nullptr;
    D_GETTIMEDATEAFUNC                            DYNDTWAIN_API::DTWAIN_GetTimeDateA = nullptr;
    D_GETTIMEDATEWFUNC                            DYNDTWAIN_API::DTWAIN_GetTimeDateW = nullptr;
    D_GETTWAINAPPIDFUNC                           DYNDTWAIN_API::DTWAIN_GetTwainAppID = nullptr;
    D_GETTWAINAPPIDEXFUNC                         DYNDTWAIN_API::DTWAIN_GetTwainAppIDEx = nullptr;
    D_GETTWAINAVAILABILITYFUNC                    DYNDTWAIN_API::DTWAIN_GetTwainAvailability = nullptr;
    D_GETTWAINAVAILABILITYEXFUNC                  DYNDTWAIN_API::DTWAIN_GetTwainAvailabilityEx = nullptr;
    D_GETTWAINAVAILABILITYEXAFUNC                 DYNDTWAIN_API::DTWAIN_GetTwainAvailabilityExA = nullptr;
    D_GETTWAINAVAILABILITYEXWFUNC                 DYNDTWAIN_API::DTWAIN_GetTwainAvailabilityExW = nullptr;
    D_GETTWAINHWNDFUNC                            DYNDTWAIN_API::DTWAIN_GetTwainHwnd = nullptr;
    D_GETTWAINMODEFUNC                            DYNDTWAIN_API::DTWAIN_GetTwainMode = nullptr;
    D_GETTWAINNAMEFROMCONSTANTFUNC                DYNDTWAIN_API::DTWAIN_GetTwainNameFromConstant = nullptr;
    D_GETTWAINNAMEFROMCONSTANTAFUNC               DYNDTWAIN_API::DTWAIN_GetTwainNameFromConstantA = nullptr;
    D_GETTWAINNAMEFROMCONSTANTEXFUNC              DYNDTWAIN_API::DTWAIN_GetTwainNameFromConstantEx = nullptr;
    D_GETTWAINNAMEFROMCONSTANTEXAFUNC             DYNDTWAIN_API::DTWAIN_GetTwainNameFromConstantExA = nullptr;
    D_GETTWAINNAMEFROMCONSTANTEXWFUNC             DYNDTWAIN_API::DTWAIN_GetTwainNameFromConstantExW = nullptr;
    D_GETTWAINNAMEFROMCONSTANTWFUNC               DYNDTWAIN_API::DTWAIN_GetTwainNameFromConstantW = nullptr;
    D_GETTWAINTIMEOUTFUNC                         DYNDTWAIN_API::DTWAIN_GetTwainTimeout = nullptr;
    D_GETVERSIONFUNC                              DYNDTWAIN_API::DTWAIN_GetVersion = nullptr;
    D_GETVERSIONCOPYRIGHTFUNC                     DYNDTWAIN_API::DTWAIN_GetVersionCopyright = nullptr;
    D_GETVERSIONCOPYRIGHTAFUNC                    DYNDTWAIN_API::DTWAIN_GetVersionCopyrightA = nullptr;
    D_GETVERSIONCOPYRIGHTWFUNC                    DYNDTWAIN_API::DTWAIN_GetVersionCopyrightW = nullptr;
    D_GETVERSIONEXFUNC                            DYNDTWAIN_API::DTWAIN_GetVersionEx = nullptr;
    D_GETVERSIONINFOFUNC                          DYNDTWAIN_API::DTWAIN_GetVersionInfo = nullptr;
    D_GETVERSIONINFOAFUNC                         DYNDTWAIN_API::DTWAIN_GetVersionInfoA = nullptr;
    D_GETVERSIONINFOWFUNC                         DYNDTWAIN_API::DTWAIN_GetVersionInfoW = nullptr;
    D_GETVERSIONSTRINGFUNC                        DYNDTWAIN_API::DTWAIN_GetVersionString = nullptr;
    D_GETVERSIONSTRINGAFUNC                       DYNDTWAIN_API::DTWAIN_GetVersionStringA = nullptr;
    D_GETVERSIONSTRINGWFUNC                       DYNDTWAIN_API::DTWAIN_GetVersionStringW = nullptr;
    D_GETWINDOWSVERSIONINFOFUNC                   DYNDTWAIN_API::DTWAIN_GetWindowsVersionInfo = nullptr;
    D_GETWINDOWSVERSIONINFOAFUNC                  DYNDTWAIN_API::DTWAIN_GetWindowsVersionInfoA = nullptr;
    D_GETWINDOWSVERSIONINFOWFUNC                  DYNDTWAIN_API::DTWAIN_GetWindowsVersionInfoW = nullptr;
    D_GETXRESOLUTIONFUNC                          DYNDTWAIN_API::DTWAIN_GetXResolution = nullptr;
    D_GETXRESOLUTIONSTRINGFUNC                    DYNDTWAIN_API::DTWAIN_GetXResolutionString = nullptr;
    D_GETXRESOLUTIONSTRINGAFUNC                   DYNDTWAIN_API::DTWAIN_GetXResolutionStringA = nullptr;
    D_GETXRESOLUTIONSTRINGWFUNC                   DYNDTWAIN_API::DTWAIN_GetXResolutionStringW = nullptr;
    D_GETYRESOLUTIONFUNC                          DYNDTWAIN_API::DTWAIN_GetYResolution = nullptr;
    D_GETYRESOLUTIONSTRINGFUNC                    DYNDTWAIN_API::DTWAIN_GetYResolutionString = nullptr;
    D_GETYRESOLUTIONSTRINGAFUNC                   DYNDTWAIN_API::DTWAIN_GetYResolutionStringA = nullptr;
    D_GETYRESOLUTIONSTRINGWFUNC                   DYNDTWAIN_API::DTWAIN_GetYResolutionStringW = nullptr;
    D_INITEXTIMAGEINFOFUNC                        DYNDTWAIN_API::DTWAIN_InitExtImageInfo = nullptr;
    D_INITIMAGEFILEAPPENDFUNC                     DYNDTWAIN_API::DTWAIN_InitImageFileAppend = nullptr;
    D_INITIMAGEFILEAPPENDAFUNC                    DYNDTWAIN_API::DTWAIN_InitImageFileAppendA = nullptr;
    D_INITIMAGEFILEAPPENDWFUNC                    DYNDTWAIN_API::DTWAIN_InitImageFileAppendW = nullptr;
    D_INITOCRINTERFACEFUNC                        DYNDTWAIN_API::DTWAIN_InitOCRInterface = nullptr;
    D_ISACQUIRINGFUNC                             DYNDTWAIN_API::DTWAIN_IsAcquiring = nullptr;
    D_ISAUDIOXFERSUPPORTEDFUNC                    DYNDTWAIN_API::DTWAIN_IsAudioXferSupported = nullptr;
    D_ISAUTOBORDERDETECTENABLEDFUNC               DYNDTWAIN_API::DTWAIN_IsAutoBorderDetectEnabled = nullptr;
    D_ISAUTOBORDERDETECTSUPPORTEDFUNC             DYNDTWAIN_API::DTWAIN_IsAutoBorderDetectSupported = nullptr;
    D_ISAUTOBRIGHTENABLEDFUNC                     DYNDTWAIN_API::DTWAIN_IsAutoBrightEnabled = nullptr;
    D_ISAUTOBRIGHTSUPPORTEDFUNC                   DYNDTWAIN_API::DTWAIN_IsAutoBrightSupported = nullptr;
    D_ISAUTODESKEWENABLEDFUNC                     DYNDTWAIN_API::DTWAIN_IsAutoDeskewEnabled = nullptr;
    D_ISAUTODESKEWSUPPORTEDFUNC                   DYNDTWAIN_API::DTWAIN_IsAutoDeskewSupported = nullptr;
    D_ISAUTOFEEDENABLEDFUNC                       DYNDTWAIN_API::DTWAIN_IsAutoFeedEnabled = nullptr;
    D_ISAUTOFEEDSUPPORTEDFUNC                     DYNDTWAIN_API::DTWAIN_IsAutoFeedSupported = nullptr;
    D_ISAUTOROTATEENABLEDFUNC                     DYNDTWAIN_API::DTWAIN_IsAutoRotateEnabled = nullptr;
    D_ISAUTOROTATESUPPORTEDFUNC                   DYNDTWAIN_API::DTWAIN_IsAutoRotateSupported = nullptr;
    D_ISAUTOSCANENABLEDFUNC                       DYNDTWAIN_API::DTWAIN_IsAutoScanEnabled = nullptr;
    D_ISAUTOMATICSENSEMEDIUMENABLEDFUNC           DYNDTWAIN_API::DTWAIN_IsAutomaticSenseMediumEnabled = nullptr;
    D_ISAUTOMATICSENSEMEDIUMSUPPORTEDFUNC         DYNDTWAIN_API::DTWAIN_IsAutomaticSenseMediumSupported = nullptr;
    D_ISBARCODECAPSSUPPORTEDFUNC                  DYNDTWAIN_API::DTWAIN_IsBarcodeCapsSupported = nullptr;
    D_ISBARCODEDETECTIONENABLEDFUNC               DYNDTWAIN_API::DTWAIN_IsBarcodeDetectionEnabled = nullptr;
    D_ISBARCODESUPPORTEDFUNC                      DYNDTWAIN_API::DTWAIN_IsBarcodeSupported = nullptr;
    D_ISBLANKPAGEDETECTIONONFUNC                  DYNDTWAIN_API::DTWAIN_IsBlankPageDetectionOn = nullptr;
    D_ISBUFFEREDTILEMODEONFUNC                    DYNDTWAIN_API::DTWAIN_IsBufferedTileModeOn = nullptr;
    D_ISBUFFEREDTILEMODESUPPORTEDFUNC             DYNDTWAIN_API::DTWAIN_IsBufferedTileModeSupported = nullptr;
    D_ISCAPSUPPORTEDFUNC                          DYNDTWAIN_API::DTWAIN_IsCapSupported = nullptr;
    D_ISCOMPRESSIONSUPPORTEDFUNC                  DYNDTWAIN_API::DTWAIN_IsCompressionSupported = nullptr;
    D_ISCUSTOMDSDATASUPPORTEDFUNC                 DYNDTWAIN_API::DTWAIN_IsCustomDSDataSupported = nullptr;
    D_ISDIBBLANKFUNC                              DYNDTWAIN_API::DTWAIN_IsDIBBlank = nullptr;
    D_ISDIBBLANKSTRINGFUNC                        DYNDTWAIN_API::DTWAIN_IsDIBBlankString = nullptr;
    D_ISDIBBLANKSTRINGAFUNC                       DYNDTWAIN_API::DTWAIN_IsDIBBlankStringA = nullptr;
    D_ISDIBBLANKSTRINGWFUNC                       DYNDTWAIN_API::DTWAIN_IsDIBBlankStringW = nullptr;
    D_ISDEVICEEVENTSUPPORTEDFUNC                  DYNDTWAIN_API::DTWAIN_IsDeviceEventSupported = nullptr;
    D_ISDEVICEONLINEFUNC                          DYNDTWAIN_API::DTWAIN_IsDeviceOnLine = nullptr;
    D_ISDOUBLEFEEDDETECTLENGTHSUPPORTEDFUNC       DYNDTWAIN_API::DTWAIN_IsDoubleFeedDetectLengthSupported = nullptr;
    D_ISDOUBLEFEEDDETECTSUPPORTEDFUNC             DYNDTWAIN_API::DTWAIN_IsDoubleFeedDetectSupported = nullptr;
    D_ISDOUBLEPAGECOUNTONDUPLEXFUNC               DYNDTWAIN_API::DTWAIN_IsDoublePageCountOnDuplex = nullptr;
    D_ISDUPLEXENABLEDFUNC                         DYNDTWAIN_API::DTWAIN_IsDuplexEnabled = nullptr;
    D_ISDUPLEXSUPPORTEDFUNC                       DYNDTWAIN_API::DTWAIN_IsDuplexSupported = nullptr;
    D_ISEXTIMAGEINFOSUPPORTEDFUNC                 DYNDTWAIN_API::DTWAIN_IsExtImageInfoSupported = nullptr;
    D_ISFEEDERENABLEDFUNC                         DYNDTWAIN_API::DTWAIN_IsFeederEnabled = nullptr;
    D_ISFEEDERLOADEDFUNC                          DYNDTWAIN_API::DTWAIN_IsFeederLoaded = nullptr;
    D_ISFEEDERSENSITIVEFUNC                       DYNDTWAIN_API::DTWAIN_IsFeederSensitive = nullptr;
    D_ISFEEDERSUPPORTEDFUNC                       DYNDTWAIN_API::DTWAIN_IsFeederSupported = nullptr;
    D_ISFILESYSTEMSUPPORTEDFUNC                   DYNDTWAIN_API::DTWAIN_IsFileSystemSupported = nullptr;
    D_ISFILEXFERSUPPORTEDFUNC                     DYNDTWAIN_API::DTWAIN_IsFileXferSupported = nullptr;
    D_ISGETMESSAGELOOPDETECTIONONFUNC             DYNDTWAIN_API::DTWAIN_IsGetMessageLoopDetectionOn = nullptr;
    D_ISGETMESSAGELOOPENABLEDFUNC                 DYNDTWAIN_API::DTWAIN_IsGetMessageLoopEnabled = nullptr;
    D_ISIAFIELDALASTPAGESUPPORTEDFUNC             DYNDTWAIN_API::DTWAIN_IsIAFieldALastPageSupported = nullptr;
    D_ISIAFIELDALEVELSUPPORTEDFUNC                DYNDTWAIN_API::DTWAIN_IsIAFieldALevelSupported = nullptr;
    D_ISIAFIELDAPRINTFORMATSUPPORTEDFUNC          DYNDTWAIN_API::DTWAIN_IsIAFieldAPrintFormatSupported = nullptr;
    D_ISIAFIELDAVALUESUPPORTEDFUNC                DYNDTWAIN_API::DTWAIN_IsIAFieldAValueSupported = nullptr;
    D_ISIAFIELDBLASTPAGESUPPORTEDFUNC             DYNDTWAIN_API::DTWAIN_IsIAFieldBLastPageSupported = nullptr;
    D_ISIAFIELDBLEVELSUPPORTEDFUNC                DYNDTWAIN_API::DTWAIN_IsIAFieldBLevelSupported = nullptr;
    D_ISIAFIELDBPRINTFORMATSUPPORTEDFUNC          DYNDTWAIN_API::DTWAIN_IsIAFieldBPrintFormatSupported = nullptr;
    D_ISIAFIELDBVALUESUPPORTEDFUNC                DYNDTWAIN_API::DTWAIN_IsIAFieldBValueSupported = nullptr;
    D_ISIAFIELDCLASTPAGESUPPORTEDFUNC             DYNDTWAIN_API::DTWAIN_IsIAFieldCLastPageSupported = nullptr;
    D_ISIAFIELDCLEVELSUPPORTEDFUNC                DYNDTWAIN_API::DTWAIN_IsIAFieldCLevelSupported = nullptr;
    D_ISIAFIELDCPRINTFORMATSUPPORTEDFUNC          DYNDTWAIN_API::DTWAIN_IsIAFieldCPrintFormatSupported = nullptr;
    D_ISIAFIELDCVALUESUPPORTEDFUNC                DYNDTWAIN_API::DTWAIN_IsIAFieldCValueSupported = nullptr;
    D_ISIAFIELDDLASTPAGESUPPORTEDFUNC             DYNDTWAIN_API::DTWAIN_IsIAFieldDLastPageSupported = nullptr;
    D_ISIAFIELDDLEVELSUPPORTEDFUNC                DYNDTWAIN_API::DTWAIN_IsIAFieldDLevelSupported = nullptr;
    D_ISIAFIELDDPRINTFORMATSUPPORTEDFUNC          DYNDTWAIN_API::DTWAIN_IsIAFieldDPrintFormatSupported = nullptr;
    D_ISIAFIELDDVALUESUPPORTEDFUNC                DYNDTWAIN_API::DTWAIN_IsIAFieldDValueSupported = nullptr;
    D_ISIAFIELDELASTPAGESUPPORTEDFUNC             DYNDTWAIN_API::DTWAIN_IsIAFieldELastPageSupported = nullptr;
    D_ISIAFIELDELEVELSUPPORTEDFUNC                DYNDTWAIN_API::DTWAIN_IsIAFieldELevelSupported = nullptr;
    D_ISIAFIELDEPRINTFORMATSUPPORTEDFUNC          DYNDTWAIN_API::DTWAIN_IsIAFieldEPrintFormatSupported = nullptr;
    D_ISIAFIELDEVALUESUPPORTEDFUNC                DYNDTWAIN_API::DTWAIN_IsIAFieldEValueSupported = nullptr;
    D_ISIMAGEADDRESSINGSUPPORTEDFUNC              DYNDTWAIN_API::DTWAIN_IsImageAddressingSupported = nullptr;
    D_ISINDICATORENABLEDFUNC                      DYNDTWAIN_API::DTWAIN_IsIndicatorEnabled = nullptr;
    D_ISINDICATORSUPPORTEDFUNC                    DYNDTWAIN_API::DTWAIN_IsIndicatorSupported = nullptr;
    D_ISINITIALIZEDFUNC                           DYNDTWAIN_API::DTWAIN_IsInitialized = nullptr;
    D_ISJOBCONTROLSUPPORTEDFUNC                   DYNDTWAIN_API::DTWAIN_IsJobControlSupported = nullptr;
    D_ISLAMPENABLEDFUNC                           DYNDTWAIN_API::DTWAIN_IsLampEnabled = nullptr;
    D_ISLAMPSUPPORTEDFUNC                         DYNDTWAIN_API::DTWAIN_IsLampSupported = nullptr;
    D_ISLIGHTPATHSUPPORTEDFUNC                    DYNDTWAIN_API::DTWAIN_IsLightPathSupported = nullptr;
    D_ISLIGHTSOURCESUPPORTEDFUNC                  DYNDTWAIN_API::DTWAIN_IsLightSourceSupported = nullptr;
    D_ISMAXBUFFERSSUPPORTEDFUNC                   DYNDTWAIN_API::DTWAIN_IsMaxBuffersSupported = nullptr;
    D_ISMEMFILEXFERSUPPORTEDFUNC                  DYNDTWAIN_API::DTWAIN_IsMemFileXferSupported = nullptr;
    D_ISMSGNOTIFYENABLEDFUNC                      DYNDTWAIN_API::DTWAIN_IsMsgNotifyEnabled = nullptr;
    D_ISNOTIFYTRIPLETSENABLEDFUNC                 DYNDTWAIN_API::DTWAIN_IsNotifyTripletsEnabled = nullptr;
    D_ISOCRENGINEACTIVATEDFUNC                    DYNDTWAIN_API::DTWAIN_IsOCREngineActivated = nullptr;
    D_ISOPENSOURCESONSELECTFUNC                   DYNDTWAIN_API::DTWAIN_IsOpenSourcesOnSelect = nullptr;
    D_ISORIENTATIONSUPPORTEDFUNC                  DYNDTWAIN_API::DTWAIN_IsOrientationSupported = nullptr;
    D_ISOVERSCANSUPPORTEDFUNC                     DYNDTWAIN_API::DTWAIN_IsOverscanSupported = nullptr;
    D_ISPAPERDETECTABLEFUNC                       DYNDTWAIN_API::DTWAIN_IsPaperDetectable = nullptr;
    D_ISPAPERSIZESUPPORTEDFUNC                    DYNDTWAIN_API::DTWAIN_IsPaperSizeSupported = nullptr;
    D_ISPATCHCODECAPSSUPPORTEDFUNC                DYNDTWAIN_API::DTWAIN_IsPatchcodeCapsSupported = nullptr;
    D_ISPATCHCODEDETECTIONENABLEDFUNC             DYNDTWAIN_API::DTWAIN_IsPatchcodeDetectionEnabled = nullptr;
    D_ISPATCHCODESUPPORTEDFUNC                    DYNDTWAIN_API::DTWAIN_IsPatchcodeSupported = nullptr;
    D_ISPEEKMESSAGELOOPENABLEDFUNC                DYNDTWAIN_API::DTWAIN_IsPeekMessageLoopEnabled = nullptr;
    D_ISPIXELTYPESUPPORTEDFUNC                    DYNDTWAIN_API::DTWAIN_IsPixelTypeSupported = nullptr;
    D_ISPRINTERENABLEDFUNC                        DYNDTWAIN_API::DTWAIN_IsPrinterEnabled = nullptr;
    D_ISPRINTERSUPPORTEDFUNC                      DYNDTWAIN_API::DTWAIN_IsPrinterSupported = nullptr;
    D_ISROTATIONSUPPORTEDFUNC                     DYNDTWAIN_API::DTWAIN_IsRotationSupported = nullptr;
    D_ISSESSIONENABLEDFUNC                        DYNDTWAIN_API::DTWAIN_IsSessionEnabled = nullptr;
    D_ISSKIPIMAGEINFOERRORFUNC                    DYNDTWAIN_API::DTWAIN_IsSkipImageInfoError = nullptr;
    D_ISSOURCEACQUIRINGFUNC                       DYNDTWAIN_API::DTWAIN_IsSourceAcquiring = nullptr;
    D_ISSOURCEACQUIRINGEXFUNC                     DYNDTWAIN_API::DTWAIN_IsSourceAcquiringEx = nullptr;
    D_ISSOURCEINUIONLYMODEFUNC                    DYNDTWAIN_API::DTWAIN_IsSourceInUIOnlyMode = nullptr;
    D_ISSOURCEOPENFUNC                            DYNDTWAIN_API::DTWAIN_IsSourceOpen = nullptr;
    D_ISSOURCESELECTEDFUNC                        DYNDTWAIN_API::DTWAIN_IsSourceSelected = nullptr;
    D_ISSOURCEVALIDFUNC                           DYNDTWAIN_API::DTWAIN_IsSourceValid = nullptr;
    D_ISTHUMBNAILENABLEDFUNC                      DYNDTWAIN_API::DTWAIN_IsThumbnailEnabled = nullptr;
    D_ISTHUMBNAILSUPPORTEDFUNC                    DYNDTWAIN_API::DTWAIN_IsThumbnailSupported = nullptr;
    D_ISTWAINAVAILABLEFUNC                        DYNDTWAIN_API::DTWAIN_IsTwainAvailable = nullptr;
    D_ISTWAINAVAILABLEEXFUNC                      DYNDTWAIN_API::DTWAIN_IsTwainAvailableEx = nullptr;
    D_ISTWAINAVAILABLEEXAFUNC                     DYNDTWAIN_API::DTWAIN_IsTwainAvailableExA = nullptr;
    D_ISTWAINAVAILABLEEXWFUNC                     DYNDTWAIN_API::DTWAIN_IsTwainAvailableExW = nullptr;
    D_ISTWAINMSGFUNC                              DYNDTWAIN_API::DTWAIN_IsTwainMsg = nullptr;
    D_ISUICONTROLLABLEFUNC                        DYNDTWAIN_API::DTWAIN_IsUIControllable = nullptr;
    D_ISUIENABLEDFUNC                             DYNDTWAIN_API::DTWAIN_IsUIEnabled = nullptr;
    D_ISUIONLYSUPPORTEDFUNC                       DYNDTWAIN_API::DTWAIN_IsUIOnlySupported = nullptr;
    D_LOADCUSTOMSTRINGRESOURCESFUNC               DYNDTWAIN_API::DTWAIN_LoadCustomStringResources = nullptr;
    D_LOADCUSTOMSTRINGRESOURCESAFUNC              DYNDTWAIN_API::DTWAIN_LoadCustomStringResourcesA = nullptr;
    D_LOADCUSTOMSTRINGRESOURCESEXFUNC             DYNDTWAIN_API::DTWAIN_LoadCustomStringResourcesEx = nullptr;
    D_LOADCUSTOMSTRINGRESOURCESEXAFUNC            DYNDTWAIN_API::DTWAIN_LoadCustomStringResourcesExA = nullptr;
    D_LOADCUSTOMSTRINGRESOURCESEXWFUNC            DYNDTWAIN_API::DTWAIN_LoadCustomStringResourcesExW = nullptr;
    D_LOADCUSTOMSTRINGRESOURCESWFUNC              DYNDTWAIN_API::DTWAIN_LoadCustomStringResourcesW = nullptr;
    D_LOADLANGUAGERESOURCEFUNC                    DYNDTWAIN_API::DTWAIN_LoadLanguageResource = nullptr;
    D_LOCKMEMORYFUNC                              DYNDTWAIN_API::DTWAIN_LockMemory = nullptr;
    D_LOCKMEMORYEXFUNC                            DYNDTWAIN_API::DTWAIN_LockMemoryEx = nullptr;
    D_LOGMESSAGEFUNC                              DYNDTWAIN_API::DTWAIN_LogMessage = nullptr;
    D_LOGMESSAGEAFUNC                             DYNDTWAIN_API::DTWAIN_LogMessageA = nullptr;
    D_LOGMESSAGEWFUNC                             DYNDTWAIN_API::DTWAIN_LogMessageW = nullptr;
    D_MAKERGBFUNC                                 DYNDTWAIN_API::DTWAIN_MakeRGB = nullptr;
    D_OPENSOURCEFUNC                              DYNDTWAIN_API::DTWAIN_OpenSource = nullptr;
    D_OPENSOURCESONSELECTFUNC                     DYNDTWAIN_API::DTWAIN_OpenSourcesOnSelect = nullptr;
    D_RANGECREATEFUNC                             DYNDTWAIN_API::DTWAIN_RangeCreate = nullptr;
    D_RANGECREATEFROMCAPFUNC                      DYNDTWAIN_API::DTWAIN_RangeCreateFromCap = nullptr;
    D_RANGEDESTROYFUNC                            DYNDTWAIN_API::DTWAIN_RangeDestroy = nullptr;
    D_RANGEEXPANDFUNC                             DYNDTWAIN_API::DTWAIN_RangeExpand = nullptr;
    D_RANGEEXPANDEXFUNC                           DYNDTWAIN_API::DTWAIN_RangeExpandEx = nullptr;
    D_RANGEGETALLFUNC                             DYNDTWAIN_API::DTWAIN_RangeGetAll = nullptr;
    D_RANGEGETALLFLOATFUNC                        DYNDTWAIN_API::DTWAIN_RangeGetAllFloat = nullptr;
    D_RANGEGETALLFLOATSTRINGFUNC                  DYNDTWAIN_API::DTWAIN_RangeGetAllFloatString = nullptr;
    D_RANGEGETALLFLOATSTRINGAFUNC                 DYNDTWAIN_API::DTWAIN_RangeGetAllFloatStringA = nullptr;
    D_RANGEGETALLFLOATSTRINGWFUNC                 DYNDTWAIN_API::DTWAIN_RangeGetAllFloatStringW = nullptr;
    D_RANGEGETALLLONGFUNC                         DYNDTWAIN_API::DTWAIN_RangeGetAllLong = nullptr;
    D_RANGEGETCOUNTFUNC                           DYNDTWAIN_API::DTWAIN_RangeGetCount = nullptr;
    D_RANGEGETEXPVALUEFUNC                        DYNDTWAIN_API::DTWAIN_RangeGetExpValue = nullptr;
    D_RANGEGETEXPVALUEFLOATFUNC                   DYNDTWAIN_API::DTWAIN_RangeGetExpValueFloat = nullptr;
    D_RANGEGETEXPVALUEFLOATSTRINGFUNC             DYNDTWAIN_API::DTWAIN_RangeGetExpValueFloatString = nullptr;
    D_RANGEGETEXPVALUEFLOATSTRINGAFUNC            DYNDTWAIN_API::DTWAIN_RangeGetExpValueFloatStringA = nullptr;
    D_RANGEGETEXPVALUEFLOATSTRINGWFUNC            DYNDTWAIN_API::DTWAIN_RangeGetExpValueFloatStringW = nullptr;
    D_RANGEGETEXPVALUELONGFUNC                    DYNDTWAIN_API::DTWAIN_RangeGetExpValueLong = nullptr;
    D_RANGEGETNEARESTVALUEFUNC                    DYNDTWAIN_API::DTWAIN_RangeGetNearestValue = nullptr;
    D_RANGEGETNEARESTVALUEFLOATFUNC               DYNDTWAIN_API::DTWAIN_RangeGetNearestValueFloat = nullptr;
    D_RANGEGETNEARESTVALUEFLOATSTRINGFUNC         DYNDTWAIN_API::DTWAIN_RangeGetNearestValueFloatString = nullptr;
    D_RANGEGETNEARESTVALUEFLOATSTRINGAFUNC        DYNDTWAIN_API::DTWAIN_RangeGetNearestValueFloatStringA = nullptr;
    D_RANGEGETNEARESTVALUEFLOATSTRINGWFUNC        DYNDTWAIN_API::DTWAIN_RangeGetNearestValueFloatStringW = nullptr;
    D_RANGEGETNEARESTVALUELONGFUNC                DYNDTWAIN_API::DTWAIN_RangeGetNearestValueLong = nullptr;
    D_RANGEGETPOSFUNC                             DYNDTWAIN_API::DTWAIN_RangeGetPos = nullptr;
    D_RANGEGETPOSFLOATFUNC                        DYNDTWAIN_API::DTWAIN_RangeGetPosFloat = nullptr;
    D_RANGEGETPOSFLOATSTRINGFUNC                  DYNDTWAIN_API::DTWAIN_RangeGetPosFloatString = nullptr;
    D_RANGEGETPOSFLOATSTRINGAFUNC                 DYNDTWAIN_API::DTWAIN_RangeGetPosFloatStringA = nullptr;
    D_RANGEGETPOSFLOATSTRINGWFUNC                 DYNDTWAIN_API::DTWAIN_RangeGetPosFloatStringW = nullptr;
    D_RANGEGETPOSLONGFUNC                         DYNDTWAIN_API::DTWAIN_RangeGetPosLong = nullptr;
    D_RANGEGETVALUEFUNC                           DYNDTWAIN_API::DTWAIN_RangeGetValue = nullptr;
    D_RANGEGETVALUEFLOATFUNC                      DYNDTWAIN_API::DTWAIN_RangeGetValueFloat = nullptr;
    D_RANGEGETVALUEFLOATSTRINGFUNC                DYNDTWAIN_API::DTWAIN_RangeGetValueFloatString = nullptr;
    D_RANGEGETVALUEFLOATSTRINGAFUNC               DYNDTWAIN_API::DTWAIN_RangeGetValueFloatStringA = nullptr;
    D_RANGEGETVALUEFLOATSTRINGWFUNC               DYNDTWAIN_API::DTWAIN_RangeGetValueFloatStringW = nullptr;
    D_RANGEGETVALUELONGFUNC                       DYNDTWAIN_API::DTWAIN_RangeGetValueLong = nullptr;
    D_RANGEISVALIDFUNC                            DYNDTWAIN_API::DTWAIN_RangeIsValid = nullptr;
    D_RANGESETALLFUNC                             DYNDTWAIN_API::DTWAIN_RangeSetAll = nullptr;
    D_RANGESETALLFLOATFUNC                        DYNDTWAIN_API::DTWAIN_RangeSetAllFloat = nullptr;
    D_RANGESETALLFLOATSTRINGFUNC                  DYNDTWAIN_API::DTWAIN_RangeSetAllFloatString = nullptr;
    D_RANGESETALLFLOATSTRINGAFUNC                 DYNDTWAIN_API::DTWAIN_RangeSetAllFloatStringA = nullptr;
    D_RANGESETALLFLOATSTRINGWFUNC                 DYNDTWAIN_API::DTWAIN_RangeSetAllFloatStringW = nullptr;
    D_RANGESETALLLONGFUNC                         DYNDTWAIN_API::DTWAIN_RangeSetAllLong = nullptr;
    D_RANGESETVALUEFUNC                           DYNDTWAIN_API::DTWAIN_RangeSetValue = nullptr;
    D_RANGESETVALUEFLOATFUNC                      DYNDTWAIN_API::DTWAIN_RangeSetValueFloat = nullptr;
    D_RANGESETVALUEFLOATSTRINGFUNC                DYNDTWAIN_API::DTWAIN_RangeSetValueFloatString = nullptr;
    D_RANGESETVALUEFLOATSTRINGAFUNC               DYNDTWAIN_API::DTWAIN_RangeSetValueFloatStringA = nullptr;
    D_RANGESETVALUEFLOATSTRINGWFUNC               DYNDTWAIN_API::DTWAIN_RangeSetValueFloatStringW = nullptr;
    D_RANGESETVALUELONGFUNC                       DYNDTWAIN_API::DTWAIN_RangeSetValueLong = nullptr;
    D_REMOVEPDFTEXTELEMENTFUNC                    DYNDTWAIN_API::DTWAIN_RemovePDFTextElement = nullptr;
    D_RESETPDFTEXTELEMENTFUNC                     DYNDTWAIN_API::DTWAIN_ResetPDFTextElement = nullptr;
    D_REWINDPAGEFUNC                              DYNDTWAIN_API::DTWAIN_RewindPage = nullptr;
    D_ROTATEIMAGEFUNC                             DYNDTWAIN_API::DTWAIN_RotateImage = nullptr;
    D_ROTATEIMAGESTRINGFUNC                       DYNDTWAIN_API::DTWAIN_RotateImageString = nullptr;
    D_ROTATEIMAGESTRINGAFUNC                      DYNDTWAIN_API::DTWAIN_RotateImageStringA = nullptr;
    D_ROTATEIMAGESTRINGWFUNC                      DYNDTWAIN_API::DTWAIN_RotateImageStringW = nullptr;
    D_SELECTDEFAULTOCRENGINEFUNC                  DYNDTWAIN_API::DTWAIN_SelectDefaultOCREngine = nullptr;
    D_SELECTDEFAULTSOURCEFUNC                     DYNDTWAIN_API::DTWAIN_SelectDefaultSource = nullptr;
    D_SELECTDEFAULTSOURCEWITHOPENFUNC             DYNDTWAIN_API::DTWAIN_SelectDefaultSourceWithOpen = nullptr;
    D_SELECTOCRENGINEFUNC                         DYNDTWAIN_API::DTWAIN_SelectOCREngine = nullptr;
    D_SELECTOCRENGINE2FUNC                        DYNDTWAIN_API::DTWAIN_SelectOCREngine2 = nullptr;
    D_SELECTOCRENGINE2AFUNC                       DYNDTWAIN_API::DTWAIN_SelectOCREngine2A = nullptr;
    D_SELECTOCRENGINE2EXFUNC                      DYNDTWAIN_API::DTWAIN_SelectOCREngine2Ex = nullptr;
    D_SELECTOCRENGINE2EXAFUNC                     DYNDTWAIN_API::DTWAIN_SelectOCREngine2ExA = nullptr;
    D_SELECTOCRENGINE2EXWFUNC                     DYNDTWAIN_API::DTWAIN_SelectOCREngine2ExW = nullptr;
    D_SELECTOCRENGINE2WFUNC                       DYNDTWAIN_API::DTWAIN_SelectOCREngine2W = nullptr;
    D_SELECTOCRENGINEBYNAMEFUNC                   DYNDTWAIN_API::DTWAIN_SelectOCREngineByName = nullptr;
    D_SELECTOCRENGINEBYNAMEAFUNC                  DYNDTWAIN_API::DTWAIN_SelectOCREngineByNameA = nullptr;
    D_SELECTOCRENGINEBYNAMEWFUNC                  DYNDTWAIN_API::DTWAIN_SelectOCREngineByNameW = nullptr;
    D_SELECTSOURCEFUNC                            DYNDTWAIN_API::DTWAIN_SelectSource = nullptr;
    D_SELECTSOURCE2FUNC                           DYNDTWAIN_API::DTWAIN_SelectSource2 = nullptr;
    D_SELECTSOURCE2AFUNC                          DYNDTWAIN_API::DTWAIN_SelectSource2A = nullptr;
    D_SELECTSOURCE2EXFUNC                         DYNDTWAIN_API::DTWAIN_SelectSource2Ex = nullptr;
    D_SELECTSOURCE2EXAFUNC                        DYNDTWAIN_API::DTWAIN_SelectSource2ExA = nullptr;
    D_SELECTSOURCE2EXWFUNC                        DYNDTWAIN_API::DTWAIN_SelectSource2ExW = nullptr;
    D_SELECTSOURCE2WFUNC                          DYNDTWAIN_API::DTWAIN_SelectSource2W = nullptr;
    D_SELECTSOURCEBYNAMEFUNC                      DYNDTWAIN_API::DTWAIN_SelectSourceByName = nullptr;
    D_SELECTSOURCEBYNAMEAFUNC                     DYNDTWAIN_API::DTWAIN_SelectSourceByNameA = nullptr;
    D_SELECTSOURCEBYNAMEWFUNC                     DYNDTWAIN_API::DTWAIN_SelectSourceByNameW = nullptr;
    D_SELECTSOURCEBYNAMEWITHOPENFUNC              DYNDTWAIN_API::DTWAIN_SelectSourceByNameWithOpen = nullptr;
    D_SELECTSOURCEBYNAMEWITHOPENAFUNC             DYNDTWAIN_API::DTWAIN_SelectSourceByNameWithOpenA = nullptr;
    D_SELECTSOURCEBYNAMEWITHOPENWFUNC             DYNDTWAIN_API::DTWAIN_SelectSourceByNameWithOpenW = nullptr;
    D_SELECTSOURCEWITHOPENFUNC                    DYNDTWAIN_API::DTWAIN_SelectSourceWithOpen = nullptr;
    D_SETACQUIREAREAFUNC                          DYNDTWAIN_API::DTWAIN_SetAcquireArea = nullptr;
    D_SETACQUIREAREA2FUNC                         DYNDTWAIN_API::DTWAIN_SetAcquireArea2 = nullptr;
    D_SETACQUIREAREA2STRINGFUNC                   DYNDTWAIN_API::DTWAIN_SetAcquireArea2String = nullptr;
    D_SETACQUIREAREA2STRINGAFUNC                  DYNDTWAIN_API::DTWAIN_SetAcquireArea2StringA = nullptr;
    D_SETACQUIREAREA2STRINGWFUNC                  DYNDTWAIN_API::DTWAIN_SetAcquireArea2StringW = nullptr;
    D_SETACQUIREIMAGENEGATIVEFUNC                 DYNDTWAIN_API::DTWAIN_SetAcquireImageNegative = nullptr;
    D_SETACQUIREIMAGESCALEFUNC                    DYNDTWAIN_API::DTWAIN_SetAcquireImageScale = nullptr;
    D_SETACQUIREIMAGESCALESTRINGFUNC              DYNDTWAIN_API::DTWAIN_SetAcquireImageScaleString = nullptr;
    D_SETACQUIREIMAGESCALESTRINGAFUNC             DYNDTWAIN_API::DTWAIN_SetAcquireImageScaleStringA = nullptr;
    D_SETACQUIREIMAGESCALESTRINGWFUNC             DYNDTWAIN_API::DTWAIN_SetAcquireImageScaleStringW = nullptr;
    D_SETACQUIRESTRIPBUFFERFUNC                   DYNDTWAIN_API::DTWAIN_SetAcquireStripBuffer = nullptr;
    D_SETACQUIRESTRIPSIZEFUNC                     DYNDTWAIN_API::DTWAIN_SetAcquireStripSize = nullptr;
    D_SETALARMVOLUMEFUNC                          DYNDTWAIN_API::DTWAIN_SetAlarmVolume = nullptr;
    D_SETALARMSFUNC                               DYNDTWAIN_API::DTWAIN_SetAlarms = nullptr;
    D_SETALLCAPSTODEFAULTFUNC                     DYNDTWAIN_API::DTWAIN_SetAllCapsToDefault = nullptr;
    D_SETAPPINFOFUNC                              DYNDTWAIN_API::DTWAIN_SetAppInfo = nullptr;
    D_SETAPPINFOAFUNC                             DYNDTWAIN_API::DTWAIN_SetAppInfoA = nullptr;
    D_SETAPPINFOWFUNC                             DYNDTWAIN_API::DTWAIN_SetAppInfoW = nullptr;
    D_SETAUTHORFUNC                               DYNDTWAIN_API::DTWAIN_SetAuthor = nullptr;
    D_SETAUTHORAFUNC                              DYNDTWAIN_API::DTWAIN_SetAuthorA = nullptr;
    D_SETAUTHORWFUNC                              DYNDTWAIN_API::DTWAIN_SetAuthorW = nullptr;
    D_SETAVAILABLEPRINTERSFUNC                    DYNDTWAIN_API::DTWAIN_SetAvailablePrinters = nullptr;
    D_SETAVAILABLEPRINTERSARRAYFUNC               DYNDTWAIN_API::DTWAIN_SetAvailablePrintersArray = nullptr;
    D_SETBARCODEMAXPRIORITIESFUNC                 DYNDTWAIN_API::DTWAIN_SetBarcodeMaxPriorities = nullptr;
    D_SETBARCODEMAXRETRIESFUNC                    DYNDTWAIN_API::DTWAIN_SetBarcodeMaxRetries = nullptr;
    D_SETBARCODEPRIORITIESFUNC                    DYNDTWAIN_API::DTWAIN_SetBarcodePriorities = nullptr;
    D_SETBARCODESEARCHMODEFUNC                    DYNDTWAIN_API::DTWAIN_SetBarcodeSearchMode = nullptr;
    D_SETBARCODETIMEOUTFUNC                       DYNDTWAIN_API::DTWAIN_SetBarcodeTimeOut = nullptr;
    D_SETBITDEPTHFUNC                             DYNDTWAIN_API::DTWAIN_SetBitDepth = nullptr;
    D_SETBLANKPAGEDETECTIONFUNC                   DYNDTWAIN_API::DTWAIN_SetBlankPageDetection = nullptr;
    D_SETBLANKPAGEDETECTIONEXFUNC                 DYNDTWAIN_API::DTWAIN_SetBlankPageDetectionEx = nullptr;
    D_SETBLANKPAGEDETECTIONEXSTRINGFUNC           DYNDTWAIN_API::DTWAIN_SetBlankPageDetectionExString = nullptr;
    D_SETBLANKPAGEDETECTIONEXSTRINGAFUNC          DYNDTWAIN_API::DTWAIN_SetBlankPageDetectionExStringA = nullptr;
    D_SETBLANKPAGEDETECTIONEXSTRINGWFUNC          DYNDTWAIN_API::DTWAIN_SetBlankPageDetectionExStringW = nullptr;
    D_SETBLANKPAGEDETECTIONSTRINGFUNC             DYNDTWAIN_API::DTWAIN_SetBlankPageDetectionString = nullptr;
    D_SETBLANKPAGEDETECTIONSTRINGAFUNC            DYNDTWAIN_API::DTWAIN_SetBlankPageDetectionStringA = nullptr;
    D_SETBLANKPAGEDETECTIONSTRINGWFUNC            DYNDTWAIN_API::DTWAIN_SetBlankPageDetectionStringW = nullptr;
    D_SETBRIGHTNESSFUNC                           DYNDTWAIN_API::DTWAIN_SetBrightness = nullptr;
    D_SETBRIGHTNESSSTRINGFUNC                     DYNDTWAIN_API::DTWAIN_SetBrightnessString = nullptr;
    D_SETBRIGHTNESSSTRINGAFUNC                    DYNDTWAIN_API::DTWAIN_SetBrightnessStringA = nullptr;
    D_SETBRIGHTNESSSTRINGWFUNC                    DYNDTWAIN_API::DTWAIN_SetBrightnessStringW = nullptr;
    D_SETBUFFEREDTILEMODEFUNC                     DYNDTWAIN_API::DTWAIN_SetBufferedTileMode = nullptr;
    D_SETCALLBACKFUNC                             DYNDTWAIN_API::DTWAIN_SetCallback = nullptr;
    D_SETCALLBACK64FUNC                           DYNDTWAIN_API::DTWAIN_SetCallback64 = nullptr;
    D_SETCAMERAFUNC                               DYNDTWAIN_API::DTWAIN_SetCamera = nullptr;
    D_SETCAMERAAFUNC                              DYNDTWAIN_API::DTWAIN_SetCameraA = nullptr;
    D_SETCAMERAWFUNC                              DYNDTWAIN_API::DTWAIN_SetCameraW = nullptr;
    D_SETCAPVALUESFUNC                            DYNDTWAIN_API::DTWAIN_SetCapValues = nullptr;
    D_SETCAPVALUESEXFUNC                          DYNDTWAIN_API::DTWAIN_SetCapValuesEx = nullptr;
    D_SETCAPVALUESEX2FUNC                         DYNDTWAIN_API::DTWAIN_SetCapValuesEx2 = nullptr;
    D_SETCAPTIONFUNC                              DYNDTWAIN_API::DTWAIN_SetCaption = nullptr;
    D_SETCAPTIONAFUNC                             DYNDTWAIN_API::DTWAIN_SetCaptionA = nullptr;
    D_SETCAPTIONWFUNC                             DYNDTWAIN_API::DTWAIN_SetCaptionW = nullptr;
    D_SETCOMPRESSIONTYPEFUNC                      DYNDTWAIN_API::DTWAIN_SetCompressionType = nullptr;
    D_SETCONTRASTFUNC                             DYNDTWAIN_API::DTWAIN_SetContrast = nullptr;
    D_SETCONTRASTSTRINGFUNC                       DYNDTWAIN_API::DTWAIN_SetContrastString = nullptr;
    D_SETCONTRASTSTRINGAFUNC                      DYNDTWAIN_API::DTWAIN_SetContrastStringA = nullptr;
    D_SETCONTRASTSTRINGWFUNC                      DYNDTWAIN_API::DTWAIN_SetContrastStringW = nullptr;
    D_SETCOUNTRYFUNC                              DYNDTWAIN_API::DTWAIN_SetCountry = nullptr;
    D_SETCURRENTRETRYCOUNTFUNC                    DYNDTWAIN_API::DTWAIN_SetCurrentRetryCount = nullptr;
    D_SETCUSTOMDSDATAFUNC                         DYNDTWAIN_API::DTWAIN_SetCustomDSData = nullptr;
    D_SETDSMSEARCHORDERFUNC                       DYNDTWAIN_API::DTWAIN_SetDSMSearchOrder = nullptr;
    D_SETDSMSEARCHORDEREXFUNC                     DYNDTWAIN_API::DTWAIN_SetDSMSearchOrderEx = nullptr;
    D_SETDSMSEARCHORDEREXAFUNC                    DYNDTWAIN_API::DTWAIN_SetDSMSearchOrderExA = nullptr;
    D_SETDSMSEARCHORDEREXWFUNC                    DYNDTWAIN_API::DTWAIN_SetDSMSearchOrderExW = nullptr;
    D_SETDEFAULTSOURCEFUNC                        DYNDTWAIN_API::DTWAIN_SetDefaultSource = nullptr;
    D_SETDEVICENOTIFICATIONSFUNC                  DYNDTWAIN_API::DTWAIN_SetDeviceNotifications = nullptr;
    D_SETDEVICETIMEDATEFUNC                       DYNDTWAIN_API::DTWAIN_SetDeviceTimeDate = nullptr;
    D_SETDEVICETIMEDATEAFUNC                      DYNDTWAIN_API::DTWAIN_SetDeviceTimeDateA = nullptr;
    D_SETDEVICETIMEDATEWFUNC                      DYNDTWAIN_API::DTWAIN_SetDeviceTimeDateW = nullptr;
    D_SETDOUBLEFEEDDETECTLENGTHFUNC               DYNDTWAIN_API::DTWAIN_SetDoubleFeedDetectLength = nullptr;
    D_SETDOUBLEFEEDDETECTLENGTHSTRINGFUNC         DYNDTWAIN_API::DTWAIN_SetDoubleFeedDetectLengthString = nullptr;
    D_SETDOUBLEFEEDDETECTLENGTHSTRINGAFUNC        DYNDTWAIN_API::DTWAIN_SetDoubleFeedDetectLengthStringA = nullptr;
    D_SETDOUBLEFEEDDETECTLENGTHSTRINGWFUNC        DYNDTWAIN_API::DTWAIN_SetDoubleFeedDetectLengthStringW = nullptr;
    D_SETDOUBLEFEEDDETECTVALUESFUNC               DYNDTWAIN_API::DTWAIN_SetDoubleFeedDetectValues = nullptr;
    D_SETDOUBLEPAGECOUNTONDUPLEXFUNC              DYNDTWAIN_API::DTWAIN_SetDoublePageCountOnDuplex = nullptr;
    D_SETEOJDETECTVALUEFUNC                       DYNDTWAIN_API::DTWAIN_SetEOJDetectValue = nullptr;
    D_SETERRORBUFFERTHRESHOLDFUNC                 DYNDTWAIN_API::DTWAIN_SetErrorBufferThreshold = nullptr;
    D_SETERRORCALLBACKFUNC                        DYNDTWAIN_API::DTWAIN_SetErrorCallback = nullptr;
    D_SETERRORCALLBACK64FUNC                      DYNDTWAIN_API::DTWAIN_SetErrorCallback64 = nullptr;
    D_SETFEEDERALIGNMENTFUNC                      DYNDTWAIN_API::DTWAIN_SetFeederAlignment = nullptr;
    D_SETFEEDERORDERFUNC                          DYNDTWAIN_API::DTWAIN_SetFeederOrder = nullptr;
    D_SETFEEDERWAITTIMEFUNC                       DYNDTWAIN_API::DTWAIN_SetFeederWaitTime = nullptr;
    D_SETFILEAUTOINCREMENTFUNC                    DYNDTWAIN_API::DTWAIN_SetFileAutoIncrement = nullptr;
    D_SETFILECOMPRESSIONTYPEFUNC                  DYNDTWAIN_API::DTWAIN_SetFileCompressionType = nullptr;
    D_SETFILESAVEPOSFUNC                          DYNDTWAIN_API::DTWAIN_SetFileSavePos = nullptr;
    D_SETFILESAVEPOSAFUNC                         DYNDTWAIN_API::DTWAIN_SetFileSavePosA = nullptr;
    D_SETFILESAVEPOSWFUNC                         DYNDTWAIN_API::DTWAIN_SetFileSavePosW = nullptr;
    D_SETFILEXFERFORMATFUNC                       DYNDTWAIN_API::DTWAIN_SetFileXferFormat = nullptr;
    D_SETHALFTONEFUNC                             DYNDTWAIN_API::DTWAIN_SetHalftone = nullptr;
    D_SETHALFTONEAFUNC                            DYNDTWAIN_API::DTWAIN_SetHalftoneA = nullptr;
    D_SETHALFTONEWFUNC                            DYNDTWAIN_API::DTWAIN_SetHalftoneW = nullptr;
    D_SETHIGHLIGHTFUNC                            DYNDTWAIN_API::DTWAIN_SetHighlight = nullptr;
    D_SETHIGHLIGHTSTRINGFUNC                      DYNDTWAIN_API::DTWAIN_SetHighlightString = nullptr;
    D_SETHIGHLIGHTSTRINGAFUNC                     DYNDTWAIN_API::DTWAIN_SetHighlightStringA = nullptr;
    D_SETHIGHLIGHTSTRINGWFUNC                     DYNDTWAIN_API::DTWAIN_SetHighlightStringW = nullptr;
    D_SETJOBCONTROLFUNC                           DYNDTWAIN_API::DTWAIN_SetJobControl = nullptr;
    D_SETJPEGVALUESFUNC                           DYNDTWAIN_API::DTWAIN_SetJpegValues = nullptr;
    D_SETJPEGXRVALUESFUNC                         DYNDTWAIN_API::DTWAIN_SetJpegXRValues = nullptr;
    D_SETLANGUAGEFUNC                             DYNDTWAIN_API::DTWAIN_SetLanguage = nullptr;
    D_SETLASTERRORFUNC                            DYNDTWAIN_API::DTWAIN_SetLastError = nullptr;
    D_SETLIGHTPATHFUNC                            DYNDTWAIN_API::DTWAIN_SetLightPath = nullptr;
    D_SETLIGHTPATHEXFUNC                          DYNDTWAIN_API::DTWAIN_SetLightPathEx = nullptr;
    D_SETLIGHTSOURCEFUNC                          DYNDTWAIN_API::DTWAIN_SetLightSource = nullptr;
    D_SETLIGHTSOURCESFUNC                         DYNDTWAIN_API::DTWAIN_SetLightSources = nullptr;
    D_SETLOGSAVETHRESHOLDFUNC                     DYNDTWAIN_API::DTWAIN_SetLogSaveThreshold = nullptr;
    D_SETLOGGERCALLBACKFUNC                       DYNDTWAIN_API::DTWAIN_SetLoggerCallback = nullptr;
    D_SETLOGGERCALLBACKAFUNC                      DYNDTWAIN_API::DTWAIN_SetLoggerCallbackA = nullptr;
    D_SETLOGGERCALLBACKWFUNC                      DYNDTWAIN_API::DTWAIN_SetLoggerCallbackW = nullptr;
    D_SETMANUALDUPLEXMODEFUNC                     DYNDTWAIN_API::DTWAIN_SetManualDuplexMode = nullptr;
    D_SETMAXACQUISITIONSFUNC                      DYNDTWAIN_API::DTWAIN_SetMaxAcquisitions = nullptr;
    D_SETMAXBUFFERSFUNC                           DYNDTWAIN_API::DTWAIN_SetMaxBuffers = nullptr;
    D_SETMAXRETRYATTEMPTSFUNC                     DYNDTWAIN_API::DTWAIN_SetMaxRetryAttempts = nullptr;
    D_SETMULTIPAGESCANMODEFUNC                    DYNDTWAIN_API::DTWAIN_SetMultipageScanMode = nullptr;
    D_SETNOISEFILTERFUNC                          DYNDTWAIN_API::DTWAIN_SetNoiseFilter = nullptr;
    D_SETOCRCAPVALUESFUNC                         DYNDTWAIN_API::DTWAIN_SetOCRCapValues = nullptr;
    D_SETORIENTATIONFUNC                          DYNDTWAIN_API::DTWAIN_SetOrientation = nullptr;
    D_SETOVERSCANFUNC                             DYNDTWAIN_API::DTWAIN_SetOverscan = nullptr;
    D_SETPDFAESENCRYPTIONFUNC                     DYNDTWAIN_API::DTWAIN_SetPDFAESEncryption = nullptr;
    D_SETPDFASCIICOMPRESSIONFUNC                  DYNDTWAIN_API::DTWAIN_SetPDFASCIICompression = nullptr;
    D_SETPDFAUTHORFUNC                            DYNDTWAIN_API::DTWAIN_SetPDFAuthor = nullptr;
    D_SETPDFAUTHORAFUNC                           DYNDTWAIN_API::DTWAIN_SetPDFAuthorA = nullptr;
    D_SETPDFAUTHORWFUNC                           DYNDTWAIN_API::DTWAIN_SetPDFAuthorW = nullptr;
    D_SETPDFCOMPRESSIONFUNC                       DYNDTWAIN_API::DTWAIN_SetPDFCompression = nullptr;
    D_SETPDFCREATORFUNC                           DYNDTWAIN_API::DTWAIN_SetPDFCreator = nullptr;
    D_SETPDFCREATORAFUNC                          DYNDTWAIN_API::DTWAIN_SetPDFCreatorA = nullptr;
    D_SETPDFCREATORWFUNC                          DYNDTWAIN_API::DTWAIN_SetPDFCreatorW = nullptr;
    D_SETPDFENCRYPTIONFUNC                        DYNDTWAIN_API::DTWAIN_SetPDFEncryption = nullptr;
    D_SETPDFENCRYPTIONAFUNC                       DYNDTWAIN_API::DTWAIN_SetPDFEncryptionA = nullptr;
    D_SETPDFENCRYPTIONWFUNC                       DYNDTWAIN_API::DTWAIN_SetPDFEncryptionW = nullptr;
    D_SETPDFJPEGQUALITYFUNC                       DYNDTWAIN_API::DTWAIN_SetPDFJpegQuality = nullptr;
    D_SETPDFKEYWORDSFUNC                          DYNDTWAIN_API::DTWAIN_SetPDFKeywords = nullptr;
    D_SETPDFKEYWORDSAFUNC                         DYNDTWAIN_API::DTWAIN_SetPDFKeywordsA = nullptr;
    D_SETPDFKEYWORDSWFUNC                         DYNDTWAIN_API::DTWAIN_SetPDFKeywordsW = nullptr;
    D_SETPDFOCRCONVERSIONFUNC                     DYNDTWAIN_API::DTWAIN_SetPDFOCRConversion = nullptr;
    D_SETPDFOCRMODEFUNC                           DYNDTWAIN_API::DTWAIN_SetPDFOCRMode = nullptr;
    D_SETPDFORIENTATIONFUNC                       DYNDTWAIN_API::DTWAIN_SetPDFOrientation = nullptr;
    D_SETPDFPAGESCALEFUNC                         DYNDTWAIN_API::DTWAIN_SetPDFPageScale = nullptr;
    D_SETPDFPAGESCALESTRINGFUNC                   DYNDTWAIN_API::DTWAIN_SetPDFPageScaleString = nullptr;
    D_SETPDFPAGESCALESTRINGAFUNC                  DYNDTWAIN_API::DTWAIN_SetPDFPageScaleStringA = nullptr;
    D_SETPDFPAGESCALESTRINGWFUNC                  DYNDTWAIN_API::DTWAIN_SetPDFPageScaleStringW = nullptr;
    D_SETPDFPAGESIZEFUNC                          DYNDTWAIN_API::DTWAIN_SetPDFPageSize = nullptr;
    D_SETPDFPAGESIZESTRINGFUNC                    DYNDTWAIN_API::DTWAIN_SetPDFPageSizeString = nullptr;
    D_SETPDFPAGESIZESTRINGAFUNC                   DYNDTWAIN_API::DTWAIN_SetPDFPageSizeStringA = nullptr;
    D_SETPDFPAGESIZESTRINGWFUNC                   DYNDTWAIN_API::DTWAIN_SetPDFPageSizeStringW = nullptr;
    D_SETPDFPOLARITYFUNC                          DYNDTWAIN_API::DTWAIN_SetPDFPolarity = nullptr;
    D_SETPDFPRODUCERFUNC                          DYNDTWAIN_API::DTWAIN_SetPDFProducer = nullptr;
    D_SETPDFPRODUCERAFUNC                         DYNDTWAIN_API::DTWAIN_SetPDFProducerA = nullptr;
    D_SETPDFPRODUCERWFUNC                         DYNDTWAIN_API::DTWAIN_SetPDFProducerW = nullptr;
    D_SETPDFSUBJECTFUNC                           DYNDTWAIN_API::DTWAIN_SetPDFSubject = nullptr;
    D_SETPDFSUBJECTAFUNC                          DYNDTWAIN_API::DTWAIN_SetPDFSubjectA = nullptr;
    D_SETPDFSUBJECTWFUNC                          DYNDTWAIN_API::DTWAIN_SetPDFSubjectW = nullptr;
    D_SETPDFTEXTELEMENTFLOATFUNC                  DYNDTWAIN_API::DTWAIN_SetPDFTextElementFloat = nullptr;
    D_SETPDFTEXTELEMENTFLOATSTRINGFUNC            DYNDTWAIN_API::DTWAIN_SetPDFTextElementFloatString = nullptr;
    D_SETPDFTEXTELEMENTFLOATSTRINGAFUNC           DYNDTWAIN_API::DTWAIN_SetPDFTextElementFloatStringA = nullptr;
    D_SETPDFTEXTELEMENTFLOATSTRINGWFUNC           DYNDTWAIN_API::DTWAIN_SetPDFTextElementFloatStringW = nullptr;
    D_SETPDFTEXTELEMENTLONGFUNC                   DYNDTWAIN_API::DTWAIN_SetPDFTextElementLong = nullptr;
    D_SETPDFTEXTELEMENTSTRINGFUNC                 DYNDTWAIN_API::DTWAIN_SetPDFTextElementString = nullptr;
    D_SETPDFTEXTELEMENTSTRINGAFUNC                DYNDTWAIN_API::DTWAIN_SetPDFTextElementStringA = nullptr;
    D_SETPDFTEXTELEMENTSTRINGWFUNC                DYNDTWAIN_API::DTWAIN_SetPDFTextElementStringW = nullptr;
    D_SETPDFTITLEFUNC                             DYNDTWAIN_API::DTWAIN_SetPDFTitle = nullptr;
    D_SETPDFTITLEAFUNC                            DYNDTWAIN_API::DTWAIN_SetPDFTitleA = nullptr;
    D_SETPDFTITLEWFUNC                            DYNDTWAIN_API::DTWAIN_SetPDFTitleW = nullptr;
    D_SETPAPERSIZEFUNC                            DYNDTWAIN_API::DTWAIN_SetPaperSize = nullptr;
    D_SETPATCHCODEMAXPRIORITIESFUNC               DYNDTWAIN_API::DTWAIN_SetPatchcodeMaxPriorities = nullptr;
    D_SETPATCHCODEMAXRETRIESFUNC                  DYNDTWAIN_API::DTWAIN_SetPatchcodeMaxRetries = nullptr;
    D_SETPATCHCODEPRIORITIESFUNC                  DYNDTWAIN_API::DTWAIN_SetPatchcodePriorities = nullptr;
    D_SETPATCHCODESEARCHMODEFUNC                  DYNDTWAIN_API::DTWAIN_SetPatchcodeSearchMode = nullptr;
    D_SETPATCHCODETIMEOUTFUNC                     DYNDTWAIN_API::DTWAIN_SetPatchcodeTimeOut = nullptr;
    D_SETPIXELFLAVORFUNC                          DYNDTWAIN_API::DTWAIN_SetPixelFlavor = nullptr;
    D_SETPIXELTYPEFUNC                            DYNDTWAIN_API::DTWAIN_SetPixelType = nullptr;
    D_SETPOSTSCRIPTTITLEFUNC                      DYNDTWAIN_API::DTWAIN_SetPostScriptTitle = nullptr;
    D_SETPOSTSCRIPTTITLEAFUNC                     DYNDTWAIN_API::DTWAIN_SetPostScriptTitleA = nullptr;
    D_SETPOSTSCRIPTTITLEWFUNC                     DYNDTWAIN_API::DTWAIN_SetPostScriptTitleW = nullptr;
    D_SETPOSTSCRIPTTYPEFUNC                       DYNDTWAIN_API::DTWAIN_SetPostScriptType = nullptr;
    D_SETPRINTERFUNC                              DYNDTWAIN_API::DTWAIN_SetPrinter = nullptr;
    D_SETPRINTEREXFUNC                            DYNDTWAIN_API::DTWAIN_SetPrinterEx = nullptr;
    D_SETPRINTERSTARTNUMBERFUNC                   DYNDTWAIN_API::DTWAIN_SetPrinterStartNumber = nullptr;
    D_SETPRINTERSTRINGMODEFUNC                    DYNDTWAIN_API::DTWAIN_SetPrinterStringMode = nullptr;
    D_SETPRINTERSTRINGSFUNC                       DYNDTWAIN_API::DTWAIN_SetPrinterStrings = nullptr;
    D_SETPRINTERSUFFIXSTRINGFUNC                  DYNDTWAIN_API::DTWAIN_SetPrinterSuffixString = nullptr;
    D_SETPRINTERSUFFIXSTRINGAFUNC                 DYNDTWAIN_API::DTWAIN_SetPrinterSuffixStringA = nullptr;
    D_SETPRINTERSUFFIXSTRINGWFUNC                 DYNDTWAIN_API::DTWAIN_SetPrinterSuffixStringW = nullptr;
    D_SETQUERYCAPSUPPORTFUNC                      DYNDTWAIN_API::DTWAIN_SetQueryCapSupport = nullptr;
    D_SETRESOLUTIONFUNC                           DYNDTWAIN_API::DTWAIN_SetResolution = nullptr;
    D_SETRESOLUTIONSTRINGFUNC                     DYNDTWAIN_API::DTWAIN_SetResolutionString = nullptr;
    D_SETRESOLUTIONSTRINGAFUNC                    DYNDTWAIN_API::DTWAIN_SetResolutionStringA = nullptr;
    D_SETRESOLUTIONSTRINGWFUNC                    DYNDTWAIN_API::DTWAIN_SetResolutionStringW = nullptr;
    D_SETRESOURCEPATHFUNC                         DYNDTWAIN_API::DTWAIN_SetResourcePath = nullptr;
    D_SETRESOURCEPATHAFUNC                        DYNDTWAIN_API::DTWAIN_SetResourcePathA = nullptr;
    D_SETRESOURCEPATHWFUNC                        DYNDTWAIN_API::DTWAIN_SetResourcePathW = nullptr;
    D_SETROTATIONFUNC                             DYNDTWAIN_API::DTWAIN_SetRotation = nullptr;
    D_SETROTATIONSTRINGFUNC                       DYNDTWAIN_API::DTWAIN_SetRotationString = nullptr;
    D_SETROTATIONSTRINGAFUNC                      DYNDTWAIN_API::DTWAIN_SetRotationStringA = nullptr;
    D_SETROTATIONSTRINGWFUNC                      DYNDTWAIN_API::DTWAIN_SetRotationStringW = nullptr;
    D_SETSAVEFILENAMEFUNC                         DYNDTWAIN_API::DTWAIN_SetSaveFileName = nullptr;
    D_SETSAVEFILENAMEAFUNC                        DYNDTWAIN_API::DTWAIN_SetSaveFileNameA = nullptr;
    D_SETSAVEFILENAMEWFUNC                        DYNDTWAIN_API::DTWAIN_SetSaveFileNameW = nullptr;
    D_SETSHADOWFUNC                               DYNDTWAIN_API::DTWAIN_SetShadow = nullptr;
    D_SETSHADOWSTRINGFUNC                         DYNDTWAIN_API::DTWAIN_SetShadowString = nullptr;
    D_SETSHADOWSTRINGAFUNC                        DYNDTWAIN_API::DTWAIN_SetShadowStringA = nullptr;
    D_SETSHADOWSTRINGWFUNC                        DYNDTWAIN_API::DTWAIN_SetShadowStringW = nullptr;
    D_SETSOURCEUNITFUNC                           DYNDTWAIN_API::DTWAIN_SetSourceUnit = nullptr;
    D_SETTIFFCOMPRESSTYPEFUNC                     DYNDTWAIN_API::DTWAIN_SetTIFFCompressType = nullptr;
    D_SETTIFFINVERTFUNC                           DYNDTWAIN_API::DTWAIN_SetTIFFInvert = nullptr;
    D_SETTEMPFILEDIRECTORYFUNC                    DYNDTWAIN_API::DTWAIN_SetTempFileDirectory = nullptr;
    D_SETTEMPFILEDIRECTORYAFUNC                   DYNDTWAIN_API::DTWAIN_SetTempFileDirectoryA = nullptr;
    D_SETTEMPFILEDIRECTORYEXFUNC                  DYNDTWAIN_API::DTWAIN_SetTempFileDirectoryEx = nullptr;
    D_SETTEMPFILEDIRECTORYEXAFUNC                 DYNDTWAIN_API::DTWAIN_SetTempFileDirectoryExA = nullptr;
    D_SETTEMPFILEDIRECTORYEXWFUNC                 DYNDTWAIN_API::DTWAIN_SetTempFileDirectoryExW = nullptr;
    D_SETTEMPFILEDIRECTORYWFUNC                   DYNDTWAIN_API::DTWAIN_SetTempFileDirectoryW = nullptr;
    D_SETTHRESHOLDFUNC                            DYNDTWAIN_API::DTWAIN_SetThreshold = nullptr;
    D_SETTHRESHOLDSTRINGFUNC                      DYNDTWAIN_API::DTWAIN_SetThresholdString = nullptr;
    D_SETTHRESHOLDSTRINGAFUNC                     DYNDTWAIN_API::DTWAIN_SetThresholdStringA = nullptr;
    D_SETTHRESHOLDSTRINGWFUNC                     DYNDTWAIN_API::DTWAIN_SetThresholdStringW = nullptr;
    D_SETTWAINDSMFUNC                             DYNDTWAIN_API::DTWAIN_SetTwainDSM = nullptr;
    D_SETTWAINDIALOGFONTFUNC                      DYNDTWAIN_API::DTWAIN_SetTwainDialogFont = nullptr;
    D_SETTWAINLOGFUNC                             DYNDTWAIN_API::DTWAIN_SetTwainLog = nullptr;
    D_SETTWAINLOGAFUNC                            DYNDTWAIN_API::DTWAIN_SetTwainLogA = nullptr;
    D_SETTWAINLOGWFUNC                            DYNDTWAIN_API::DTWAIN_SetTwainLogW = nullptr;
    D_SETTWAINMODEFUNC                            DYNDTWAIN_API::DTWAIN_SetTwainMode = nullptr;
    D_SETTWAINTIMEOUTFUNC                         DYNDTWAIN_API::DTWAIN_SetTwainTimeout = nullptr;
    D_SETUPDATEDIBPROCFUNC                        DYNDTWAIN_API::DTWAIN_SetUpdateDibProc = nullptr;
    D_SETXRESOLUTIONFUNC                          DYNDTWAIN_API::DTWAIN_SetXResolution = nullptr;
    D_SETXRESOLUTIONSTRINGFUNC                    DYNDTWAIN_API::DTWAIN_SetXResolutionString = nullptr;
    D_SETXRESOLUTIONSTRINGAFUNC                   DYNDTWAIN_API::DTWAIN_SetXResolutionStringA = nullptr;
    D_SETXRESOLUTIONSTRINGWFUNC                   DYNDTWAIN_API::DTWAIN_SetXResolutionStringW = nullptr;
    D_SETYRESOLUTIONFUNC                          DYNDTWAIN_API::DTWAIN_SetYResolution = nullptr;
    D_SETYRESOLUTIONSTRINGFUNC                    DYNDTWAIN_API::DTWAIN_SetYResolutionString = nullptr;
    D_SETYRESOLUTIONSTRINGAFUNC                   DYNDTWAIN_API::DTWAIN_SetYResolutionStringA = nullptr;
    D_SETYRESOLUTIONSTRINGWFUNC                   DYNDTWAIN_API::DTWAIN_SetYResolutionStringW = nullptr;
    D_SHOWUIONLYFUNC                              DYNDTWAIN_API::DTWAIN_ShowUIOnly = nullptr;
    D_SHUTDOWNOCRENGINEFUNC                       DYNDTWAIN_API::DTWAIN_ShutdownOCREngine = nullptr;
    D_SKIPIMAGEINFOERRORFUNC                      DYNDTWAIN_API::DTWAIN_SkipImageInfoError = nullptr;
    D_STARTTHREADFUNC                             DYNDTWAIN_API::DTWAIN_StartThread = nullptr;
    D_STARTTWAINSESSIONFUNC                       DYNDTWAIN_API::DTWAIN_StartTwainSession = nullptr;
    D_STARTTWAINSESSIONAFUNC                      DYNDTWAIN_API::DTWAIN_StartTwainSessionA = nullptr;
    D_STARTTWAINSESSIONWFUNC                      DYNDTWAIN_API::DTWAIN_StartTwainSessionW = nullptr;
    D_SYSDESTROYFUNC                              DYNDTWAIN_API::DTWAIN_SysDestroy = nullptr;
    D_SYSINITIALIZEFUNC                           DYNDTWAIN_API::DTWAIN_SysInitialize = nullptr;
    D_SYSINITIALIZEEXFUNC                         DYNDTWAIN_API::DTWAIN_SysInitializeEx = nullptr;
    D_SYSINITIALIZEEX2FUNC                        DYNDTWAIN_API::DTWAIN_SysInitializeEx2 = nullptr;
    D_SYSINITIALIZEEX2AFUNC                       DYNDTWAIN_API::DTWAIN_SysInitializeEx2A = nullptr;
    D_SYSINITIALIZEEX2WFUNC                       DYNDTWAIN_API::DTWAIN_SysInitializeEx2W = nullptr;
    D_SYSINITIALIZEEXAFUNC                        DYNDTWAIN_API::DTWAIN_SysInitializeExA = nullptr;
    D_SYSINITIALIZEEXWFUNC                        DYNDTWAIN_API::DTWAIN_SysInitializeExW = nullptr;
    D_SYSINITIALIZELIBFUNC                        DYNDTWAIN_API::DTWAIN_SysInitializeLib = nullptr;
    D_SYSINITIALIZELIBEXFUNC                      DYNDTWAIN_API::DTWAIN_SysInitializeLibEx = nullptr;
    D_SYSINITIALIZELIBEX2FUNC                     DYNDTWAIN_API::DTWAIN_SysInitializeLibEx2 = nullptr;
    D_SYSINITIALIZELIBEX2AFUNC                    DYNDTWAIN_API::DTWAIN_SysInitializeLibEx2A = nullptr;
    D_SYSINITIALIZELIBEX2WFUNC                    DYNDTWAIN_API::DTWAIN_SysInitializeLibEx2W = nullptr;
    D_SYSINITIALIZELIBEXAFUNC                     DYNDTWAIN_API::DTWAIN_SysInitializeLibExA = nullptr;
    D_SYSINITIALIZELIBEXWFUNC                     DYNDTWAIN_API::DTWAIN_SysInitializeLibExW = nullptr;
    D_SYSINITIALIZENOBLOCKINGFUNC                 DYNDTWAIN_API::DTWAIN_SysInitializeNoBlocking = nullptr;
    D_TESTGETCAPFUNC                              DYNDTWAIN_API::DTWAIN_TestGetCap = nullptr;
    D_UNLOCKMEMORYFUNC                            DYNDTWAIN_API::DTWAIN_UnlockMemory = nullptr;
    D_UNLOCKMEMORYEXFUNC                          DYNDTWAIN_API::DTWAIN_UnlockMemoryEx = nullptr;
    D_UPDATECURRENTACQUIREDIMAGEFUNC              DYNDTWAIN_API::DTWAIN_UpdateCurrentAcquiredImage = nullptr;
    D_USEMULTIPLETHREADSFUNC                      DYNDTWAIN_API::DTWAIN_UseMultipleThreads = nullptr;
#endif

///////////////////////////////////////////////////////////////////////////////////////////////////
// Implementation
#ifdef __cplusplus
template <typename Fn>
int LoadFunction(Fn& apifn, HMODULE hModule, const char *fnName)
{
    DTWAINAPI_ASSERT(apifn = reinterpret_cast<Fn>(::GetProcAddress(hModule, fnName)));
    return 1;
}
#define LOADFUNCTIONIMPL(fn, module) do { if (!LoadFunction(fn, module, #fn)) return 0;} while(false);
#else
#define LOADFUNCTIONIMPL(fn, module) do { \
        DTWAINAPI_ASSERT(DTWAIN_INSTANCE fn = GetProcAddress(module, #fn)); } while(0);
#endif
#ifdef __cplusplus
    #define DTWAIN_INSTANCE DYNDTWAIN_API::
    int DYNDTWAIN_API::InitDTWAINInterface(HMODULE hModule)
    {
        return InitDTWAINInterface(nullptr, hModule);
    }

    int DYNDTWAIN_API::InitDTWAINInterface(DYNDTWAIN_API*, HMODULE hModule)
    {
#else
    #define DTWAIN_INSTANCE pApi->
    int InitDTWAINInterface(DYNDTWAIN_API* pApi, HMODULE hModule)
    {
#endif
#ifndef __cplusplus
        memset(pApi, 0, sizeof(DYNDTWAIN_API));
#endif
    /* hModule must be the return value of LoadLibraryA(LibraryVersion);
       where LibraryVersion is one of the following, depending on the DTWAIN DLL that is being used:

       "dtwain32"
       "dtwain32d"
       "dtwain32u"
       "dtwain32ud"
       "dtwain64"
       "dtwain64d"
       "dtwain64u"
       "dtwain64ud"
       */
    if ( hModule )
    {
          LOADFUNCTIONIMPL(DTWAIN_GetVersion, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetVersionEx, hModule);
          if ( DTWAIN_INSTANCE DTWAIN_GetVersionEx )
          {
              LONG Major, Minor, VerType, Patch;
              DTWAIN_INSTANCE DTWAIN_GetVersionEx(&Major, &Minor, &VerType, &Patch);
              if (Major >= DTWAIN_MAJOR_VERSION)
              {
                  if (Minor >= DTWAIN_MINOR_VERSION)
                      DTWAINAPI_ASSERT(Patch >= DTWAIN_PATCHLEVEL_VERSION)
                  else
                      DTWAINAPI_ASSERT(Minor >= DTWAIN_MINOR_VERSION)
              }
              else
                  DTWAINAPI_ASSERT(Major >= DTWAIN_MAJOR_VERSION);
          }

          LOADFUNCTIONIMPL(DTWAIN_AcquireAudioFile, hModule);
          LOADFUNCTIONIMPL(DTWAIN_AcquireAudioFileA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_AcquireAudioFileW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_AcquireAudioNative, hModule);
          LOADFUNCTIONIMPL(DTWAIN_AcquireAudioNativeEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_AcquireBuffered, hModule);
          LOADFUNCTIONIMPL(DTWAIN_AcquireBufferedEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_AcquireFile, hModule);
          LOADFUNCTIONIMPL(DTWAIN_AcquireFileA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_AcquireFileEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_AcquireFileW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_AcquireNative, hModule);
          LOADFUNCTIONIMPL(DTWAIN_AcquireNativeEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_AcquireToClipboard, hModule);
          LOADFUNCTIONIMPL(DTWAIN_AddExtImageInfoQuery, hModule);
          LOADFUNCTIONIMPL(DTWAIN_AddFileToAppend, hModule);
          LOADFUNCTIONIMPL(DTWAIN_AddFileToAppendA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_AddFileToAppendW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_AddPDFText, hModule);
          LOADFUNCTIONIMPL(DTWAIN_AddPDFTextA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_AddPDFTextElement, hModule);
          LOADFUNCTIONIMPL(DTWAIN_AddPDFTextEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_AddPDFTextExA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_AddPDFTextExW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_AddPDFTextString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_AddPDFTextStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_AddPDFTextStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_AddPDFTextW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_AllocateMemory, hModule);
          LOADFUNCTIONIMPL(DTWAIN_AllocateMemory64, hModule);
          LOADFUNCTIONIMPL(DTWAIN_AllocateMemoryEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_AppHandlesExceptions, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayANSIStringToFloat, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayAdd, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayAddANSIString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayAddANSIStringN, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayAddFloat, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayAddFloatN, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayAddFloatString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayAddFloatStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayAddFloatStringN, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayAddFloatStringNA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayAddFloatStringNW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayAddFloatStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayAddFrame, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayAddFrameN, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayAddLong, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayAddLong64, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayAddLong64N, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayAddLongN, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayAddN, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayAddString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayAddStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayAddStringN, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayAddStringNA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayAddStringNW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayAddStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayAddWideString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayAddWideStringN, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayConvertFix32ToFloat, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayConvertFloatToFix32, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayCopy, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayCreate, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayCreateCopy, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayCreateFromCap, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayCreateFromLong64s, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayCreateFromLongs, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayCreateFromReals, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayCreateFromStrings, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayCreateFromStringsA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayCreateFromStringsW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayDestroy, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayDestroyFrames, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayDumpToLog, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayFind, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayFindANSIString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayFindFloat, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayFindFloatString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayFindFloatStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayFindFloatStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayFindLong, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayFindLong64, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayFindString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayFindStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayFindStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayFindWideString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayFix32GetAt, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayFix32SetAt, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayFloatToANSIString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayFloatToString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayFloatToWideString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayGetAt, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayGetAtANSIString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayGetAtANSIStringPtr, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayGetAtFloat, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayGetAtFloatEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayGetAtFloatString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayGetAtFloatStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayGetAtFloatStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayGetAtFrame, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayGetAtFrameEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayGetAtFrameString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayGetAtFrameStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayGetAtFrameStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayGetAtLong, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayGetAtLong64, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayGetAtLong64Ex, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayGetAtLongEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayGetAtSource, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayGetAtSourceEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayGetAtString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayGetAtStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayGetAtStringPtr, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayGetAtStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayGetAtWideString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayGetAtWideStringPtr, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayGetBuffer, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayGetCapValues, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayGetCapValuesEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayGetCapValuesEx2, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayGetCount, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayGetMaxStringLength, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayGetSourceAt, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayGetStringLength, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayGetType, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayInit, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayInsertAt, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayInsertAtANSIString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayInsertAtANSIStringN, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayInsertAtFloat, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayInsertAtFloatN, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayInsertAtFloatString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayInsertAtFloatStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayInsertAtFloatStringN, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayInsertAtFloatStringNA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayInsertAtFloatStringNW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayInsertAtFloatStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayInsertAtFrame, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayInsertAtFrameN, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayInsertAtLong, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayInsertAtLong64, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayInsertAtLong64N, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayInsertAtLongN, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayInsertAtN, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayInsertAtString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayInsertAtStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayInsertAtStringN, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayInsertAtStringNA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayInsertAtStringNW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayInsertAtStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayInsertAtWideString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayInsertAtWideStringN, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayRemoveAll, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayRemoveAt, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayRemoveAtN, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayResize, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArraySetAt, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArraySetAtANSIString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArraySetAtFloat, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArraySetAtFloatString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArraySetAtFloatStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArraySetAtFloatStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArraySetAtFrame, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArraySetAtFrameEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArraySetAtFrameString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArraySetAtFrameStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArraySetAtFrameStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArraySetAtLong, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArraySetAtLong64, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArraySetAtString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArraySetAtStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArraySetAtStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArraySetAtWideString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayStringToFloat, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ArrayWideStringToFloat, hModule);
          LOADFUNCTIONIMPL(DTWAIN_CallCallback, hModule);
          LOADFUNCTIONIMPL(DTWAIN_CallCallback64, hModule);
          LOADFUNCTIONIMPL(DTWAIN_CallDSMProc, hModule);
          LOADFUNCTIONIMPL(DTWAIN_CheckHandles, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ClearBuffers, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ClearErrorBuffer, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ClearPDFTextElements, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ClearPage, hModule);
          LOADFUNCTIONIMPL(DTWAIN_CloseSource, hModule);
          LOADFUNCTIONIMPL(DTWAIN_CloseSourceUI, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ConvertDIBToBitmap, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ConvertDIBToFullBitmap, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ConvertToAPIString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ConvertToAPIStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ConvertToAPIStringEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ConvertToAPIStringExA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ConvertToAPIStringExW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ConvertToAPIStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_CreateAcquisitionArray, hModule);
          LOADFUNCTIONIMPL(DTWAIN_CreatePDFTextElement, hModule);
          LOADFUNCTIONIMPL(DTWAIN_CreatePDFTextElementCopy, hModule);
          LOADFUNCTIONIMPL(DTWAIN_DeleteDIB, hModule);
          LOADFUNCTIONIMPL(DTWAIN_DestroyAcquisitionArray, hModule);
          LOADFUNCTIONIMPL(DTWAIN_DestroyPDFTextElement, hModule);
          LOADFUNCTIONIMPL(DTWAIN_DisableAppWindow, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnableAutoBorderDetect, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnableAutoBright, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnableAutoDeskew, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnableAutoFeed, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnableAutoRotate, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnableAutoScan, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnableAutomaticSenseMedium, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnableBarcodeDetection, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnableDuplex, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnableFeeder, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnableGetMessageLoop, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnableGetMessageLoopDetection, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnableIndicator, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnableJobFileHandling, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnableLamp, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnableMsgNotify, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnablePatchcodeDetection, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnablePeekMessageLoop, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnablePrinter, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnableThumbnail, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnableTripletsNotify, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EndThread, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EndTwainSession, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumAlarmVolumes, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumAlarmVolumesEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumAlarms, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumAlarmsEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumAudioXferMechs, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumAudioXferMechsEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumAutoFeedValues, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumAutoFeedValuesEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumAutomaticCaptures, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumAutomaticCapturesEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumAutomaticSenseMedium, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumAutomaticSenseMediumEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumBarcodeCodes, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumBarcodeCodesEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumBarcodeMaxPriorities, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumBarcodeMaxPrioritiesEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumBarcodeMaxRetries, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumBarcodeMaxRetriesEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumBarcodePriorities, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumBarcodePrioritiesEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumBarcodeSearchModes, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumBarcodeSearchModesEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumBarcodeTimeOutValues, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumBarcodeTimeOutValuesEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumBitDepths, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumBitDepthsEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumBitDepthsEx2, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumBottomCameras, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumBottomCamerasEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumBrightnessValues, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumBrightnessValuesEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumCameras, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumCamerasEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumCamerasEx2, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumCapLabels, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumCompressionTypes, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumCompressionTypesEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumCompressionTypesEx2, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumContrastValues, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumContrastValuesEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumCustomCaps, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumCustomCapsEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumDoubleFeedDetectLengths, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumDoubleFeedDetectLengthsEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumDoubleFeedDetectValues, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumDoubleFeedDetectValuesEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumExtImageInfoTypes, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumExtImageInfoTypesEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumExtendedCaps, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumExtendedCapsEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumExtendedCapsEx2, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumFileTypeBitsPerPixel, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumFileXferFormats, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumFileXferFormatsEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumHalftones, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumHalftonesEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumHighlightValues, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumHighlightValuesEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumJobControls, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumJobControlsEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumLightPaths, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumLightPathsEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumLightSources, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumLightSourcesEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumMaxBuffers, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumMaxBuffersEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumNoiseFilters, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumNoiseFiltersEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumOCRInterfaces, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumOCRInterfacesEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumOCRSupportedCaps, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumOrientations, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumOrientationsEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumOverscanValues, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumOverscanValuesEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumPaperSizes, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumPaperSizesEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumPatchcodeCodes, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumPatchcodeCodesEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumPatchcodeMaxPriorities, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumPatchcodeMaxPrioritiesEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumPatchcodeMaxRetries, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumPatchcodeMaxRetriesEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumPatchcodePriorities, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumPatchcodePrioritiesEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumPatchcodeSearchModes, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumPatchcodeSearchModesEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumPatchcodeTimeOutValues, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumPatchcodeTimeOutValuesEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumPixelTypes, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumPixelTypesEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumPrinterStringModes, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumPrinterStringModesEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumResolutionValues, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumResolutionValuesEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumShadowValues, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumShadowValuesEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumSourceUnits, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumSourceUnitsEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumSourceValues, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumSourceValuesA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumSourceValuesW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumSources, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumSourcesEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumSupportedCaps, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumSupportedCapsEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumSupportedCapsEx2, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumSupportedExtImageInfo, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumSupportedExtImageInfoEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumSupportedFileTypes, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumSupportedMultiPageFileTypes, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumSupportedSinglePageFileTypes, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumThresholdValues, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumThresholdValuesEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumTopCameras, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumTopCamerasEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumTwainPrinters, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumTwainPrintersEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumXResolutionValues, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumXResolutionValuesEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumYResolutionValues, hModule);
          LOADFUNCTIONIMPL(DTWAIN_EnumYResolutionValuesEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ExecuteOCR, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ExecuteOCRA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ExecuteOCRW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_FeedPage, hModule);
          LOADFUNCTIONIMPL(DTWAIN_FlipBitmap, hModule);
          LOADFUNCTIONIMPL(DTWAIN_FlushAcquiredPages, hModule);
          LOADFUNCTIONIMPL(DTWAIN_FrameCreate, hModule);
          LOADFUNCTIONIMPL(DTWAIN_FrameCreateString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_FrameCreateStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_FrameCreateStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_FrameDestroy, hModule);
          LOADFUNCTIONIMPL(DTWAIN_FrameGetAll, hModule);
          LOADFUNCTIONIMPL(DTWAIN_FrameGetAllString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_FrameGetAllStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_FrameGetAllStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_FrameGetValue, hModule);
          LOADFUNCTIONIMPL(DTWAIN_FrameGetValueString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_FrameGetValueStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_FrameGetValueStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_FrameIsValid, hModule);
          LOADFUNCTIONIMPL(DTWAIN_FrameSetAll, hModule);
          LOADFUNCTIONIMPL(DTWAIN_FrameSetAllString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_FrameSetAllStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_FrameSetAllStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_FrameSetValue, hModule);
          LOADFUNCTIONIMPL(DTWAIN_FrameSetValueString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_FrameSetValueStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_FrameSetValueStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_FreeExtImageInfo, hModule);
          LOADFUNCTIONIMPL(DTWAIN_FreeMemory, hModule);
          LOADFUNCTIONIMPL(DTWAIN_FreeMemoryEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetAPIHandleStatus, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetAcquireArea, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetAcquireArea2, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetAcquireArea2String, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetAcquireArea2StringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetAcquireArea2StringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetAcquireAreaEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetAcquireMetrics, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetAcquireStripBuffer, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetAcquireStripData, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetAcquireStripSizes, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetAcquiredImage, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetAcquiredImageArray, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetAcquisitionArray, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetActiveDSMPath, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetActiveDSMPathA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetActiveDSMPathW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetActiveDSMVersionInfo, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetActiveDSMVersionInfoA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetActiveDSMVersionInfoW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetAlarmVolume, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetAllSourceDibs, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetAppInfo, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetAppInfoA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetAppInfoW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetAuthor, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetAuthorA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetAuthorW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetBarcodeMaxPriorities, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetBarcodeMaxRetries, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetBarcodePriorities, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetBarcodeSearchMode, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetBarcodeTimeOut, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetBatteryMinutes, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetBatteryPercent, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetBitDepth, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetBitDepthEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetBlankPageAutoDetection, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetBrightness, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetBrightnessEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetBrightnessString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetBrightnessStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetBrightnessStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetBufferedTransferInfo, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetCallback, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetCallback64, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetCapArrayType, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetCapContainer, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetCapContainerEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetCapContainerEx2, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetCapDataType, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetCapFromName, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetCapFromNameA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetCapFromNameW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetCapHelp, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetCapHelpA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetCapHelpW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetCapLabel, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetCapLabelA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetCapLabelW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetCapOperations, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetCapOperationsEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetCapValues, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetCapValuesEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetCapValuesEx2, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetCaption, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetCaptionA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetCaptionW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetCompressionSize, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetCompressionType, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetCompressionTypeEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetConditionCodeString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetConditionCodeStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetConditionCodeStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetConstantFromTwainName, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetConstantFromTwainNameA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetConstantFromTwainNameW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetContrast, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetContrastEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetContrastString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetContrastStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetContrastStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetCountry, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetCurrentAcquiredImage, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetCurrentFileName, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetCurrentFileNameA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetCurrentFileNameW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetCurrentPageNum, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetCurrentRetryCount, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetCurrentTwainTriplet, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetCustomDSData, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetDSMFullName, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetDSMFullNameA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetDSMFullNameW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetDSMSearchOrder, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetDSMSearchOrderEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetDSMSearchOrderExA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetDSMSearchOrderExW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetDTWAINHandle, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetDeviceEvent, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetDeviceEventEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetDeviceEventInfo, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetDeviceNotifications, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetDeviceTimeDate, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetDeviceTimeDateA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetDeviceTimeDateW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetDoubleFeedDetectLength, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetDoubleFeedDetectValues, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetDuplexType, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetDuplexTypeEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetErrorBuffer, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetErrorBufferThreshold, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetErrorCallback, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetErrorCallback64, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetErrorString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetErrorStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetErrorStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetExtCapFromName, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetExtCapFromNameA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetExtCapFromNameW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetExtImageInfo, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetExtImageInfoData, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetExtImageInfoDataEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetExtImageInfoItem, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetExtImageInfoItemEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetExtNameFromCap, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetExtNameFromCapA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetExtNameFromCapW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetFeederAlignment, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetFeederFuncs, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetFeederOrder, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetFeederWaitTime, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetFileCompressionType, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetFileSavePageCount, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetFileTypeExtensions, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetFileTypeExtensionsA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetFileTypeExtensionsW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetFileTypeName, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetFileTypeNameA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetFileTypeNameW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetHalftone, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetHalftoneA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetHalftoneW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetHighlight, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetHighlightString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetHighlightStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetHighlightStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetImageInfo, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetImageInfoString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetImageInfoStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetImageInfoStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetJobControl, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetJobControlEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetJpegValues, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetJpegXRValues, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetLanguage, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetLastError, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetLibraryPath, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetLibraryPathA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetLibraryPathW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetLightPath, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetLightPathEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetLightSource, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetLightSources, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetLightSourcesEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetLoggerCallback, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetLoggerCallbackA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetLoggerCallbackW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetManualDuplexCount, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetMaxAcquisitions, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetMaxBuffers, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetMaxPagesToAcquire, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetMaxRetryAttempts, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetNameFromCap, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetNameFromCapA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetNameFromCapW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetNoiseFilter, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetNumAcquiredImages, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetNumAcquisitions, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetOCRCapValues, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetOCRErrorString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetOCRErrorStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetOCRErrorStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetOCRLastError, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetOCRMajorMinorVersion, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetOCRManufacturer, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetOCRManufacturerA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetOCRManufacturerW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetOCRProductFamily, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetOCRProductFamilyA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetOCRProductFamilyW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetOCRProductName, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetOCRProductNameA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetOCRProductNameW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetOCRText, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetOCRTextA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetOCRTextInfoFloat, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetOCRTextInfoFloatEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetOCRTextInfoHandle, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetOCRTextInfoLong, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetOCRTextInfoLongEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetOCRTextW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetOCRVersionInfo, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetOCRVersionInfoA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetOCRVersionInfoW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetOrientation, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetOrientationEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetOverscan, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetPDFTextElementFloat, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetPDFTextElementLong, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetPDFTextElementString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetPDFTextElementStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetPDFTextElementStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetPDFType1FontName, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetPDFType1FontNameA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetPDFType1FontNameW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetPaperSize, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetPaperSizeName, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetPaperSizeNameA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetPaperSizeNameW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetPatchcodeMaxPriorities, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetPatchcodeMaxRetries, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetPatchcodePriorities, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetPatchcodeSearchMode, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetPatchcodeTimeOut, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetPixelFlavor, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetPixelType, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetPrinter, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetPrinterEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetPrinterStartNumber, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetPrinterStartNumberEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetPrinterStringMode, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetPrinterStringModeEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetPrinterStrings, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetPrinterStringsEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetPrinterSuffixString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetPrinterSuffixStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetPrinterSuffixStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetRegisteredMsg, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetResolution, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetResolutionEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetResolutionString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetResolutionStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetResolutionStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetResourceString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetResourceStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetResourceStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetRotation, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetRotationEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetRotationString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetRotationStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetRotationStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetSaveFileName, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetSaveFileNameA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetSaveFileNameW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetSessionDetails, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetSessionDetailsA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetSessionDetailsW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetShadow, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetShadowString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetShadowStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetShadowStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetShortVersionString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetShortVersionStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetShortVersionStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetSourceAcquisitions, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetSourceDetails, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetSourceDetailsA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetSourceDetailsW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetSourceID, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetSourceIDEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetSourceManufacturer, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetSourceManufacturerA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetSourceManufacturerW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetSourceProductFamily, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetSourceProductFamilyA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetSourceProductFamilyW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetSourceProductName, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetSourceProductNameA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetSourceProductNameW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetSourceUnit, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetSourceUnitEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetSourceVersionInfo, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetSourceVersionInfoA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetSourceVersionInfoW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetSourceVersionNumber, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetStaticLibVersion, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetTempFileDirectory, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetTempFileDirectoryA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetTempFileDirectoryW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetThreshold, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetThresholdString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetThresholdStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetThresholdStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetTimeDate, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetTimeDateA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetTimeDateW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetTwainAppID, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetTwainAppIDEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetTwainAvailability, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetTwainAvailabilityEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetTwainAvailabilityExA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetTwainAvailabilityExW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetTwainHwnd, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetTwainMode, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetTwainNameFromConstant, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetTwainNameFromConstantA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetTwainNameFromConstantEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetTwainNameFromConstantExA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetTwainNameFromConstantExW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetTwainNameFromConstantW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetTwainTimeout, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetVersion, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetVersionCopyright, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetVersionCopyrightA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetVersionCopyrightW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetVersionEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetVersionInfo, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetVersionInfoA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetVersionInfoW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetVersionString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetVersionStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetVersionStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetWindowsVersionInfo, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetWindowsVersionInfoA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetWindowsVersionInfoW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetXResolution, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetXResolutionString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetXResolutionStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetXResolutionStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetYResolution, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetYResolutionString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetYResolutionStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_GetYResolutionStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_InitExtImageInfo, hModule);
          LOADFUNCTIONIMPL(DTWAIN_InitImageFileAppend, hModule);
          LOADFUNCTIONIMPL(DTWAIN_InitImageFileAppendA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_InitImageFileAppendW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_InitOCRInterface, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsAcquiring, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsAudioXferSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsAutoBorderDetectEnabled, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsAutoBorderDetectSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsAutoBrightEnabled, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsAutoBrightSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsAutoDeskewEnabled, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsAutoDeskewSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsAutoFeedEnabled, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsAutoFeedSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsAutoRotateEnabled, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsAutoRotateSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsAutoScanEnabled, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsAutomaticSenseMediumEnabled, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsAutomaticSenseMediumSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsBarcodeCapsSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsBarcodeDetectionEnabled, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsBarcodeSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsBlankPageDetectionOn, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsBufferedTileModeOn, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsBufferedTileModeSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsCapSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsCompressionSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsCustomDSDataSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsDIBBlank, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsDIBBlankString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsDIBBlankStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsDIBBlankStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsDeviceEventSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsDeviceOnLine, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsDoubleFeedDetectLengthSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsDoubleFeedDetectSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsDoublePageCountOnDuplex, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsDuplexEnabled, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsDuplexSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsExtImageInfoSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsFeederEnabled, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsFeederLoaded, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsFeederSensitive, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsFeederSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsFileSystemSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsFileXferSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsGetMessageLoopDetectionOn, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsGetMessageLoopEnabled, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsIAFieldALastPageSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsIAFieldALevelSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsIAFieldAPrintFormatSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsIAFieldAValueSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsIAFieldBLastPageSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsIAFieldBLevelSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsIAFieldBPrintFormatSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsIAFieldBValueSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsIAFieldCLastPageSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsIAFieldCLevelSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsIAFieldCPrintFormatSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsIAFieldCValueSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsIAFieldDLastPageSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsIAFieldDLevelSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsIAFieldDPrintFormatSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsIAFieldDValueSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsIAFieldELastPageSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsIAFieldELevelSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsIAFieldEPrintFormatSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsIAFieldEValueSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsImageAddressingSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsIndicatorEnabled, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsIndicatorSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsInitialized, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsJobControlSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsLampEnabled, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsLampSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsLightPathSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsLightSourceSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsMaxBuffersSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsMemFileXferSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsMsgNotifyEnabled, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsNotifyTripletsEnabled, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsOCREngineActivated, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsOpenSourcesOnSelect, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsOrientationSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsOverscanSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsPaperDetectable, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsPaperSizeSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsPatchcodeCapsSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsPatchcodeDetectionEnabled, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsPatchcodeSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsPeekMessageLoopEnabled, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsPixelTypeSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsPrinterEnabled, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsPrinterSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsRotationSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsSessionEnabled, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsSkipImageInfoError, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsSourceAcquiring, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsSourceAcquiringEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsSourceInUIOnlyMode, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsSourceOpen, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsSourceSelected, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsSourceValid, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsThumbnailEnabled, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsThumbnailSupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsTwainAvailable, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsTwainAvailableEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsTwainAvailableExA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsTwainAvailableExW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsTwainMsg, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsUIControllable, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsUIEnabled, hModule);
          LOADFUNCTIONIMPL(DTWAIN_IsUIOnlySupported, hModule);
          LOADFUNCTIONIMPL(DTWAIN_LoadCustomStringResources, hModule);
          LOADFUNCTIONIMPL(DTWAIN_LoadCustomStringResourcesA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_LoadCustomStringResourcesEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_LoadCustomStringResourcesExA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_LoadCustomStringResourcesExW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_LoadCustomStringResourcesW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_LoadLanguageResource, hModule);
          LOADFUNCTIONIMPL(DTWAIN_LockMemory, hModule);
          LOADFUNCTIONIMPL(DTWAIN_LockMemoryEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_LogMessage, hModule);
          LOADFUNCTIONIMPL(DTWAIN_LogMessageA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_LogMessageW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_MakeRGB, hModule);
          LOADFUNCTIONIMPL(DTWAIN_OpenSource, hModule);
          LOADFUNCTIONIMPL(DTWAIN_OpenSourcesOnSelect, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeCreate, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeCreateFromCap, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeDestroy, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeExpand, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeExpandEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeGetAll, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeGetAllFloat, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeGetAllFloatString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeGetAllFloatStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeGetAllFloatStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeGetAllLong, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeGetCount, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeGetExpValue, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeGetExpValueFloat, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeGetExpValueFloatString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeGetExpValueFloatStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeGetExpValueFloatStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeGetExpValueLong, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeGetNearestValue, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeGetNearestValueFloat, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeGetNearestValueFloatString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeGetNearestValueFloatStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeGetNearestValueFloatStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeGetNearestValueLong, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeGetPos, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeGetPosFloat, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeGetPosFloatString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeGetPosFloatStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeGetPosFloatStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeGetPosLong, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeGetValue, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeGetValueFloat, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeGetValueFloatString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeGetValueFloatStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeGetValueFloatStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeGetValueLong, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeIsValid, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeSetAll, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeSetAllFloat, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeSetAllFloatString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeSetAllFloatStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeSetAllFloatStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeSetAllLong, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeSetValue, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeSetValueFloat, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeSetValueFloatString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeSetValueFloatStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeSetValueFloatStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RangeSetValueLong, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RemovePDFTextElement, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ResetPDFTextElement, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RewindPage, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RotateImage, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RotateImageString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RotateImageStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_RotateImageStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SelectDefaultOCREngine, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SelectDefaultSource, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SelectDefaultSourceWithOpen, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SelectOCREngine, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SelectOCREngine2, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SelectOCREngine2A, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SelectOCREngine2Ex, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SelectOCREngine2ExA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SelectOCREngine2ExW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SelectOCREngine2W, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SelectOCREngineByName, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SelectOCREngineByNameA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SelectOCREngineByNameW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SelectSource, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SelectSource2, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SelectSource2A, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SelectSource2Ex, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SelectSource2ExA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SelectSource2ExW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SelectSource2W, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SelectSourceByName, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SelectSourceByNameA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SelectSourceByNameW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SelectSourceByNameWithOpen, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SelectSourceByNameWithOpenA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SelectSourceByNameWithOpenW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SelectSourceWithOpen, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetAcquireArea, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetAcquireArea2, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetAcquireArea2String, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetAcquireArea2StringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetAcquireArea2StringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetAcquireImageNegative, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetAcquireImageScale, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetAcquireImageScaleString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetAcquireImageScaleStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetAcquireImageScaleStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetAcquireStripBuffer, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetAcquireStripSize, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetAlarmVolume, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetAlarms, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetAllCapsToDefault, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetAppInfo, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetAppInfoA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetAppInfoW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetAuthor, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetAuthorA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetAuthorW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetAvailablePrinters, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetAvailablePrintersArray, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetBarcodeMaxPriorities, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetBarcodeMaxRetries, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetBarcodePriorities, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetBarcodeSearchMode, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetBarcodeTimeOut, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetBitDepth, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetBlankPageDetection, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetBlankPageDetectionEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetBlankPageDetectionExString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetBlankPageDetectionExStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetBlankPageDetectionExStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetBlankPageDetectionString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetBlankPageDetectionStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetBlankPageDetectionStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetBrightness, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetBrightnessString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetBrightnessStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetBrightnessStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetBufferedTileMode, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetCallback, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetCallback64, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetCamera, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetCameraA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetCameraW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetCapValues, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetCapValuesEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetCapValuesEx2, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetCaption, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetCaptionA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetCaptionW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetCompressionType, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetContrast, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetContrastString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetContrastStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetContrastStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetCountry, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetCurrentRetryCount, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetCustomDSData, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetDSMSearchOrder, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetDSMSearchOrderEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetDSMSearchOrderExA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetDSMSearchOrderExW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetDefaultSource, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetDeviceNotifications, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetDeviceTimeDate, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetDeviceTimeDateA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetDeviceTimeDateW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetDoubleFeedDetectLength, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetDoubleFeedDetectLengthString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetDoubleFeedDetectLengthStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetDoubleFeedDetectLengthStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetDoubleFeedDetectValues, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetDoublePageCountOnDuplex, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetEOJDetectValue, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetErrorBufferThreshold, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetErrorCallback, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetErrorCallback64, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetFeederAlignment, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetFeederOrder, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetFeederWaitTime, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetFileAutoIncrement, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetFileCompressionType, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetFileSavePos, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetFileSavePosA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetFileSavePosW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetFileXferFormat, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetHalftone, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetHalftoneA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetHalftoneW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetHighlight, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetHighlightString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetHighlightStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetHighlightStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetJobControl, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetJpegValues, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetJpegXRValues, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetLanguage, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetLastError, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetLightPath, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetLightPathEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetLightSource, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetLightSources, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetLogSaveThreshold, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetLoggerCallback, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetLoggerCallbackA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetLoggerCallbackW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetManualDuplexMode, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetMaxAcquisitions, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetMaxBuffers, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetMaxRetryAttempts, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetMultipageScanMode, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetNoiseFilter, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetOCRCapValues, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetOrientation, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetOverscan, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPDFAESEncryption, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPDFASCIICompression, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPDFAuthor, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPDFAuthorA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPDFAuthorW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPDFCompression, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPDFCreator, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPDFCreatorA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPDFCreatorW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPDFEncryption, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPDFEncryptionA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPDFEncryptionW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPDFJpegQuality, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPDFKeywords, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPDFKeywordsA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPDFKeywordsW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPDFOCRConversion, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPDFOCRMode, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPDFOrientation, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPDFPageScale, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPDFPageScaleString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPDFPageScaleStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPDFPageScaleStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPDFPageSize, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPDFPageSizeString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPDFPageSizeStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPDFPageSizeStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPDFPolarity, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPDFProducer, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPDFProducerA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPDFProducerW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPDFSubject, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPDFSubjectA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPDFSubjectW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPDFTextElementFloat, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPDFTextElementFloatString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPDFTextElementFloatStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPDFTextElementFloatStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPDFTextElementLong, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPDFTextElementString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPDFTextElementStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPDFTextElementStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPDFTitle, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPDFTitleA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPDFTitleW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPaperSize, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPatchcodeMaxPriorities, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPatchcodeMaxRetries, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPatchcodePriorities, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPatchcodeSearchMode, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPatchcodeTimeOut, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPixelFlavor, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPixelType, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPostScriptTitle, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPostScriptTitleA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPostScriptTitleW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPostScriptType, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPrinter, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPrinterEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPrinterStartNumber, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPrinterStringMode, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPrinterStrings, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPrinterSuffixString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPrinterSuffixStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetPrinterSuffixStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetQueryCapSupport, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetResolution, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetResolutionString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetResolutionStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetResolutionStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetResourcePath, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetResourcePathA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetResourcePathW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetRotation, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetRotationString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetRotationStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetRotationStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetSaveFileName, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetSaveFileNameA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetSaveFileNameW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetShadow, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetShadowString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetShadowStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetShadowStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetSourceUnit, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetTIFFCompressType, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetTIFFInvert, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetTempFileDirectory, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetTempFileDirectoryA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetTempFileDirectoryEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetTempFileDirectoryExA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetTempFileDirectoryExW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetTempFileDirectoryW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetThreshold, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetThresholdString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetThresholdStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetThresholdStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetTwainDSM, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetTwainDialogFont, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetTwainLog, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetTwainLogA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetTwainLogW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetTwainMode, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetTwainTimeout, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetUpdateDibProc, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetXResolution, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetXResolutionString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetXResolutionStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetXResolutionStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetYResolution, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetYResolutionString, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetYResolutionStringA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SetYResolutionStringW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ShowUIOnly, hModule);
          LOADFUNCTIONIMPL(DTWAIN_ShutdownOCREngine, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SkipImageInfoError, hModule);
          LOADFUNCTIONIMPL(DTWAIN_StartThread, hModule);
          LOADFUNCTIONIMPL(DTWAIN_StartTwainSession, hModule);
          LOADFUNCTIONIMPL(DTWAIN_StartTwainSessionA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_StartTwainSessionW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SysDestroy, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SysInitialize, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SysInitializeEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SysInitializeEx2, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SysInitializeEx2A, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SysInitializeEx2W, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SysInitializeExA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SysInitializeExW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SysInitializeLib, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SysInitializeLibEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SysInitializeLibEx2, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SysInitializeLibEx2A, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SysInitializeLibEx2W, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SysInitializeLibExA, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SysInitializeLibExW, hModule);
          LOADFUNCTIONIMPL(DTWAIN_SysInitializeNoBlocking, hModule);
          LOADFUNCTIONIMPL(DTWAIN_TestGetCap, hModule);
          LOADFUNCTIONIMPL(DTWAIN_UnlockMemory, hModule);
          LOADFUNCTIONIMPL(DTWAIN_UnlockMemoryEx, hModule);
          LOADFUNCTIONIMPL(DTWAIN_UpdateCurrentAcquiredImage, hModule);
          LOADFUNCTIONIMPL(DTWAIN_UseMultipleThreads, hModule);
    }
    return 1;
}
#ifdef _MSC_VER
#pragma warning (pop)
#endif
#ifdef __GNUC__
#pragma GCC diagnostic pop
#endif
