DTWAIN_RangeCreate
The DTWAIN_RangeCreate creates a DTWAIN_RANGE.
DTWAIN_RANGE DTWAIN_RangeCreate ( LONG RangeType );
Parameters RangeType This is the data type that the created DTWAIN_RANGE will store.
Return Values If the function succeeds, a new DTWAIN_RANGE is returned. Otherwise, NULL is returned.
Comments The DTWAIN_RangeCreate function returns a new DTWAIN_RANGE of the type RangeType. The DTWAIN_RANGE emulates the TWAIN TW_RANGE type. The defined RangeType types are as follows:
The returned DTWAIN_RANGE is valid until DTWAIN_RangeDestroy or DTWAIN_SysDestroy is called. Once the DTWAIN_RANGE is created, the values that define the DTWAIN_RANGE must be set by calling the various DTWAIN_RANGE functions.
TWAIN State Transitions None.
Prerequisite Function Call(s)
See Also |