DTWAIN_RangeSetAllFloatString

DTWAIN_RangeSetAllFloatStringA

DTWAIN_RangeSetAllFloatStringW

Top  Previous  Next

The DTWAIN_RangeSetAllFloatString function sets the low, high, step, default, and current values in the DTWAIN_RANGE.

 

DTWAIN_BOOL DTWAIN_RangeSetAllFloatString (

DTWAIN_RANGE

Range,

LPCTSTR

Min,

LPCTSTR

Max,

LPCTSTR

Step,

LPCTSTR

Def,

LPCTSTR

Cur );

 

Parameters

Range

A valid DTWAIN_RANGE type.

 

Min

Minimum value.

 

Max

Maximum value

 

Step

Step value

 

Def

default value

 

Cur

current 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_RangeSetAllFloatStringA

Unicode version:

DTWAIN_RangeSetAllFloatStringW

 

Comments

The DTWAIN_RangeSetAllFloatString function is a specialized version of DTWAIN_RangeSetAllFloat that sets all of the values that define the DTWAIN_RANGE. Instead of addresses, the value types for minimum, maximum, step, default, are string values.


This function can be used by computer languages that do not handle 64-bit IEEE parameters correctly.    

 

TWAIN State Transitions

None.

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize

 

See Also

DTWAIN Range Functions