DTWAIN_ArrayInsertAtLong

Top  Previous  Next

The DTWAIN_ArrayInsertAtLong inserts a LONG value into a DTWAIN_ARRAY.

 

DTWAIN_BOOL DTWAIN_ArrayInsertAtLong (

DTWAIN_ARRAY

Array

LONG

Index

LONG

Value );

 

Parameters

Array

DTWAIN_ARRAY that the value will be inserted into.

 

Index

Position to place the inserted value

 

Value

32-bit LONG value to insert.

 

Return Values

If the function succeeds, TRUE is returned.  If the function fails FALSE is returned.

 

Comments

DTWAIN_ArrayInsertAtLong is a speicalized version of the DTWAIN_ArrayInsertAt function.

 

The DTWAIN_ArrayInsertAtLong function inserts the value Value in the DTWAIN_ARRAY Array.  The Index argument is the position to insert the value.  The value is inserted before the value located at position Index.  The Index argument is numbered from 0 (the first position) to any positive number.

 

This function will only work for DTWAIN_ARRAY's that can store LONG values (i.e. the DTWAIN_ARRAY was created with the DTWAIN_ARRAYLONG style. See DTWAIN_ArrayCreate for more information).

 

TWAIN State Transitions

None.

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize

 

See Also

Adding, Setting, and Inserting elements in a DTWAIN_ARRAY