DTWAIN_RangeGetAllFloatString

Top  Previous  Next

The DTWAIN_RangeGetAllFloat function gets the low, high, step, default, and current values in the DTWAIN_RANGE.

 

DTWAIN_BOOL DTWAIN_RangeGetAllFloatString (

DTWAIN_RANGE

Range,

LPTSTR

lpMin

LPTSTR

lpMax

LPTSTR

lpStep

LPTSTR

lpDef

LPTSTR

lpCur );

 

Parameters

Range

A valid DTWAIN_RANGE type.

 

lpMin

Address of Minimum value or NULL

 

lpMax

Address of Maximum value  or NULL

 

lpStep

Address of Step value  or NULL

 

lpDef

Address of default value or NULL

 

lpCur

Address of current value or NULL

 

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_RangeGetAllFloatStringA

Unicode version:

DTWAIN_RangeGetAllFloatStringW


Comments

The DTWAIN_RangeGetAllFloatString does exactly the same thing as DTWAIN_RangeGetAllFloat function, with the difference being that the parameters are string buffers instead of pointers to DTWAIN_FLOAT.


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