DTWAIN_EnumSourceUnitsEx

Top  Previous  Next

The DTWAIN_EnumSourceUnitsEx gets all of the current unit of measure supported by the Source.

 

DTWAIN_ARRAY DTWAIN_EnumSourceUnitsEx ( DTWAIN_SOURCE Source );

 

Return Values

If successful, A DTWAIN_ARRAY of all the units of measures is returned.  If there are no Sources or if there is an error, NULL is returned.

 

Comments

The DTWAIN_EnumSourceUnitsEx is the same as DTWAIN_EnumSourceUnits except that the DTWAIN_ARRAY is returned instead of the user having to provide a pointer to a DTWAIN_ARRAY that is filled in with the Sources.

 

TWAIN State Transitions

The Source must be in State 4 or higher.

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize

 

DTWAIN Source Selection Function

 

 

See Also

Setting / Getting Source Unit of Measure