DTWAIN_ArrayGetAtSourceEx

Top  Previous  Next

The DTWAIN_ArrayGetAtSourceEx function retrieves a DTWAIN_SOURCE value from a DTWAIN_ARRAY.

 

DTWAIN_SOURCE DTWAIN_ArrayGetAtSource (

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 the function succeeds, the DTWAIN_SOURCE located at Position is returned.  If the function fails, NULL is returned.

 

Comments

DTWAIN_ArrayGetAtSourceEx is a specialized version of DTWAIN_ArrayGetAtSource.

 

The DTWAIN_ArrayGetAtSourceEx returns the DTWAIN_ARRAY, instead of the caller passing a pointer to a DTWAIN_SOURCE.  Use this function if the computer language being used has issues with sending pointers to a DTWAIN_SOURCE.

 

TWAIN State Transitions

None.

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize

 

See Also

Retrieving Values from a DTWAIN_ARRAY