DTWAIN_RANGE Functions
The DTWAIN_RANGE emulates the TWAIN TW_RANGE structure. The DTWAIN_RANGE makes it possible for languages to define a TW_RANGE easily.
In addition to the functions above, any of the DTWAIN_ARRAY functions can also be used for DTWAIN_RANGE types. The DTWAIN_RANGE is a specialized version of a DTWAIN_ARRAY.
Given the above, remember that a DTWAIN_RANGE is a DTWAIN_ARRAY, but a DTWAIN_ARRAY may not be a valid DTWAIN_RANGE. You can easily render a DTWAIN_RANGE invalid by removing or adding values from it by using the DTWAIN_ARRAY functions. The safest DTWAIN_ARRAY functions to use on DTWAIN_RANGEs would be functions that do not change the values in an existing DTWAIN_RANGE. For example, DTWAIN_ArrayGetCount, DTWAIN_ArrayCreateCopy, etc. |