DTWAIN_RangeGetPosLong
|
The DTWAIN_RangeGetPosLong function gets the position of the value if the range is expanded.
DTWAIN_BOOL DTWAIN_RangeGetPosLong (
Parameters Range A valid DTWAIN_RANGE type.
Value Value to determine the position of.
lpPosition Address of where the position will be copied. Return Values TRUE if successful, FALSE otherwise. If the function returns FALSE, call DTWAIN_GetLastError() to get extended information.
Comments The DTWAIN_RangeGetPosLong is a specialized version of DTWAIN_RangeGetPos where Value is the LONG data instead of a void pointer. This function can only be used by ranges that were created using DTWAIN_RANGELONG. If the value is not found in the range, lpPosition will return the "closest" index to the number.
TWAIN State Transitions None.
Prerequisite Function Call(s)
See Also |