DTWAIN_RangeSetAllLong

Top  Previous  Next

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

 

DTWAIN_BOOL DTWAIN_RangeSetAllLong (

DTWAIN_RANGE

Range,

LONG

Min,

LONG

Max,

LONG

Step,

LONG

Def,

LONG

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.

 

Comments

The DTWAIN_RangeSetAllLong function is a specialized version of DTWAIN_RangeSetAll that sets all of the values that define the DTWAIN_RANGE with LONG values. 


Instead of addresses, the value types for minimum, maximum, step, default, and current value are LONG values  

 

TWAIN State Transitions

None.

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize

 

See Also

DTWAIN Range Functions