lFlags

Flags that control the display of the user interface and the actions of the method. Possible values are:

Value

Meaning

L_LTWAIN_SHOW_USER_INTERFACE

[0x0001] Shows the manufacturer's user interface as modeless.

L_LTWAIN_MODAL_USER_INTERFACE

[0x0002] Shows the manufacturer's user interface as a modal dialog. Works only if the LTWAIN_SHOW_USER_INTERFACE flag is set.

L_LTWAIN_USE_THREAD_MODE

[0x0008] Use the fast Thread mode.

L_LTWAIN_CHECK_ALL_DEFAULT_BPP

[0x0010] Tests all supported BPP.

L_LTWAIN_KEEPOPEN

[0x0020] Keep the TWAIN data source open after scanning.