DTWAIN_ArrayInsertAtLong64N

Top  Previous  Next

The DTWAIN_ArrayInsertAtLong64N inserts N copies of a 64-bit integer value into a DTWAIN_ARRAY.

 

DTWAIN_BOOL DTWAIN_ArrayInsertAtLong64N (

DTWAIN_ARRAY

Array

LONG

Index

LONG64

Value

LONG

NumCopies );

 

Parameters

Array

DTWAIN_ARRAY that the values will be inserted into.

 

Index

Position to place the inserted values

 

Value

64-bit integer value to insert.


NumCopies

Number of copies of Value to add to the array.


 

Return Values

TRUE if successful, FALSE otherwise.  If the function returns FALSE, call DTWAIN_GetLastError() to get extended information.

 

Comments

DTWAIN_ArrayInsertAtLong64N is a speicalized version of the DTWAIN_ArrayInsertAtN function.

 

The DTWAIN_ArrayInsertAtLong64N function inserts NumCopies of 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 LONG64 values (i.e. the DTWAIN_ARRAY was created with the DTWAIN_ARRAYLONG64 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