DTWAIN_ArrayGetAtFloatEx

Top  Previous  Next

The DTWAIN_ArrayGetAtFloatEx function retrieves a DTWAIN_FLOAT value from a DTWAIN_ARRAY.

 

DTWAIN_FLOAT DTWAIN_ArrayGetAtFloatEx (

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 DTWAIN_FLOAT that is located at index Index is returned.  If the function fails, returns the minimum finite value representable by a DTWAIN_FLOAT (approximately 2.22507e-308).  Call DTWAIN_GetLastError() to get extended information.

 

Comments

The DTWAIN_ArrayGetAtFloatEx function has the same functionality as DTWAIN_ArrayGetAtFloat, except that the value is returned to the caller instead of the caller providing a pointer to a DTWAIN_FLOAT as a parameter.

 

TWAIN State Transitions

None.

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize

 

See Also

Retrieving Values from a DTWAIN_ARRAY