DTWAIN_ArrayGetAtLongEx

Top  Previous  Next

The DTWAIN_ArrayGetAtLongEx function retrieves a LONG value from a DTWAIN_ARRAY.

 

LONG DTWAIN_ArrayGetAtLongEx (

DTWAIN_ARRAY

Array,

LONG

Index );

 

Parameters

Array

DTWAIN_ARRAY that the value will be retrieved from.

 

Position

Index of value to retrieve.

 

Return Values

If successful, the LONG that is located at index Index is returned.  If the function fails, returns the minimum value representable by a 32-bit LONG (-2147483648).  Call DTWAIN_GetLastError() to get extended information.

 

Comments

The DTWAIN_ArrayGetAtLongEx function has the same functionality as DTWAIN_ArrayGetAtLong, except that the value is returned to the caller instead of the caller providing a pointer to a LONG as a parameter.

 

TWAIN State Transitions

None.

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize

 

See Also

Retrieving Values from a DTWAIN_ARRAY