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

TRUE if successful, FALSE otherwise.  If the function returns FALSE, call DTWAIN_GetLastError() to get extended information.

 

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