DTWAIN_RangeGetAllLong

Top  Previous  Next

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

 

DTWAIN_BOOL DTWAIN_RangeGetAllLong (

DTWAIN_RANGE

Range,

LPLONG

lpMin

LPLONG

lpMax

LPLONG

lpStep

LPLONG

lpDef

LPLONG

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.

 

Comments

The DTWAIN_RangeGetAllLong function is a specialization of the DTWAIN_RangeGetAll function, with the difference being that the parameters are pointers to LONG types instead of LPVOID.


The Range must have been created with the DTWAIN_RANGELONG type.


TWAIN State Transitions

None.

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize

 

See Also

DTWAIN Range Functions