DTWAIN_IsUIOnlySupported

Top  Previous  Next

The DTWAIN_IsUIOnlySupported function determines whether a Source can display the user interface to allow for changes to the Source settings.

 

DTWAIN_BOOL DTWAIN_IsUIOnlySupported ( DTWAIN_SOURCE Source );

 

 

Parameters

Source

Specifies a TWAIN Source.

 

Return Values

If the Source's UI can be displayed without acquiring images, TRUE is returned.  If the UI-only mode is not supported, or if there is another error FALSE is returned.

 

Comments

The DTWAIN_IsUIOnlySupported function returns TRUE if Source has a user interface (UI) that can be displayed without the ability to acquire images, but allows the user to change Source settings. Usually, the UI has disabled the "Scan" button in this mode. To show the Source UI in this mode, DTWAIN_ShowUIOnly is called

 

TWAIN State Transitions

None.

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize

 

DTWAIN Source Selection Function

 

See Also

Source User Interface Functions