DTWAIN Array Data Type Constants

Top  Previous  Next

The DTWAIN_ArrayGetType function returns the data type for an initialized DTWAIN_ARRAY.

The Variable to use column denotes the variable type that the application should use when retrieving or setting values within the DTWAIN_ARRAY:

 

Data Type

Variable to use

DTWAIN_ARRAYANY

Any 32-bit address

DTWAIN_ARRAYFLOAT

DTWAIN_FLOAT

DTWAIN_ARRAYFRAME

DTWAIN_FRAME

DTWAIN_ARRAYHANDLE

HANDLE

DTWAIN_ARRAYINT16

LONG (interpret as 16 bit signed integer)

DTWAIN_ARRAYINT32

LONG (interpret as 32-bit signed integer)

DTWAIN_ARRAYLONG

LONG (signed or unsigned 32-bit integer)

DTWAIN_ARRAYSOURCE

DTWAIN_SOURCE

DTWAIN_ARRAYSTRING

DTWAIN_STRING

DTWAIN_ARRAYUINT16

LONG (interpret as 16-bit unsigned integer)

DTWAIN_ARRAYUINT32

LONG (interpret as 32-bit unsigned integer)