DTWAIN_EnableDuplex

Top  Previous  Next

The DTWAIN_EnableDuplex function turns on or off duplex mode for a Source

 

DTWAIN_BOOL DTWAIN_EnableDuplex (

DTWAIN_SOURCE

Source

DTWAIN_BOOL

bEnable );

 

Parameters

Source

An open TWAIN Source.

 

bEnable

Determines whether to turn on or off duplex mode.

 

Return Values

The return value is TRUE if successful.  Otherwise FALSE is returned.

 

Comments

The DTWAIN_EnableDuplex function turns on or off the duplex mode for a Source.  If bEnable is TRUE, the duplex device is turned on, else it is turned off.

 

TWAIN State Transitions

The Source must be in State 4 or higher

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize

DTWAIN Source Selection Function

 

 

See Also

Duplex Scanner Support