DTWAIN_RangeGetExpValueFloatString

DTWAIN_RangeGetExpValueFloatStringA

DTWAIN_RangeGetExpValueFloatStringW

Top  Previous  Next

The DTWAIN_RangeGetExpValueFloatString function gets the value identified by the DTWAIN_RANGE after Range expansion

 

DTWAIN_BOOL DTWAIN_RangeGetExpValueFloatString (

DTWAIN_RANGE

Range,

LONG

WhichValue

LPTSTR

lpValue );

 

Parameters

Range

A valid DTWAIN_RANGE type.

 

nWhichValue

Denotes the position in the expanded range

 

lpValue

String buffer where to store expanded value

 

 

Return Values

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

 

Character specific versions

ANSI version:

DTWAIN_RangeGetExpValueFloatStringA

Unicode version:

DTWAIN_RangeGetExpValueFloatStringW


Comments

The DTWAIN_RangeGetExpValueFloatString works the same as DTWAIN_RangeGetExpValueFloat with the difference that the floating point value is returned in string form to lpValue.


This function can be used by computer languages that do not handle 64-bit IEEE parameters correctly.  The string buffers (if they are not NULL) must be sized to at least 255 characters.

 

TWAIN State Transitions

None.

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize

 

See Also

DTWAIN Range Functions