DTWAIN_EnumSourcesEx

Top  Previous  Next

The DTWAIN_EnumSourcesEx function gets a list of all of the installed Sources.

 

DTWAIN_ARRAY DTWAIN_EnumSourcesEx ( );

 

Return Values

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

 

Comments

The DTWAIN_EnumSourcesEx is the same as DTWAIN_EnumSources() 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

None

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize

 

See Also

Source Information Functions

DTWAIN_ArrayGetAtSource