DTWAIN_SetDefaultSource

Top  Previous  Next

The DTWAIN_SetDefaultSource function sets the default TWAIN Source.

 

DTWAIN_BOOL  DTWAIN_SetDefaultSource ( DTWAIN_SOURCE Source );

 

 

Parameters

Source

A valid DTWAIN_SOURCE

 

Return Values

If successful, the return value is TRUE.  Otherwise the return value is FALSE

 

Comments

DTWAIN_SetDefaultSource sets the TWAIN default source to an open Twain Source denoted by Source. After calling this function, any TWAIN-compliant application will assume that Source is the default source.

 

Prerequisite Calls

DTWAIN_SysInitialize

Source Selection Functions

 

Optional Prerequisite Calls

None.

 

See Also

Source Selection Functions