lFlags

Flag that determines certain actions of the TWAIN source. 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 L_LTWAIN_SHOW_USER_INTERFACE flag is set.

L_LTWAIN_KEEPOPEN

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