TWAIN Acquisition Functions

Top  Previous  Next

The following functions start the acquisition functions from a DTWAIN_SOURCE.

 

The first two functions acquire images and returns a DTWAIN_ARRAY describing the acquisitions

DTWAIN_AcquireBuffered

DTWAIN_AcquireNative

 

The following functions are similar to the functions above, with the difference being that the application supplies a DTWAIN_ARRAY that will be filled in with the image information after the acquisitions are completed:

DTWAIN_AcquireBufferedEx

DTWAIN_AcquireNativeEx

 

The following acquires images and saves them to one or several image files, but does not return a DTWAIN_ARRAY:

DTWAIN_AcquireFile

DTWAIN_AcquireFileEx

 

The following acquires images using the native or buffered mode, and copies the image to the Windows clipboard:

DTWAIN_AcquireToClipboard

 

When acquiring an image, notifications about the current acquisitions can be sent to your application while the acquisition is invoked.  The following function allows your application to set up a callback function that is called whenever a DTWAIN notification occurs:

DTWAIN_SetCallback

 

To retrieve the current callback function:

DTWAIN_GetCallback

 

To disable a window or multiple windows during acquisition:

DTWAIN_DisableAppWindow

 

 

Other miscellaneous functions:

DTWAIN_GetMaxRetryAttempts

DTWAIN_GetNumAcquiredImages

DTWAIN_GetSourceAcquisitions

DTWAIN_IsSourceAcquiring

DTWAIN_SetMaxAcquisitions

DTWAIN_SetMaxRetryAttempts

DTWAIN_ShowUIOnly