DTWAIN_RangeGetAllFloat
|
The DTWAIN_RangeGetAllFloat function gets the low, high, step, default, and current values in the DTWAIN_RANGE.
DTWAIN_BOOL DTWAIN_RangeGetAllFloat (
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.
Comments The DTWAIN_RangeGetAllFloat function is a specialization of the DTWAIN_RangeGetAll function, with the difference being that the parameters are pointers to DTWAIN_FLOAT types instead of LPVOID. If Range stores floating point types, DTWAIN_RangeGetAllFloat will return the value as floating point types. The Range must have been created with the DTWAIN_RANGEFLOAT type. TWAIN State Transitions None.
Prerequisite Function Call(s)
See Also |