DTWAIN_GetDuplexTypeEx

Top  Previous  Next

The DTWAIN_GetDuplexTypeEx function gets the duplex mode that is supported by the Source.

 

LONG DTWAIN_GetDuplexTypeEx ( DTWAIN_SOURCE Source );

 

Parameters

Source

Specifies an open TWAIN Source.

 

Return Values

If duplex mode is supported for the Source, the duplex type is returned.  On failure, -1 is returned.  Call DTWAIN_GetLastError() to retrieve the reason for the failure.

 

Comments

The DTWAIN_GetDuplexTypeEx performs the same functions as DTWAIN_GetDuplexType, with the only difference being that the duplex type is returned as a LONG instead of the client having to provide a pointer to a LONG.  

 

TWAIN State Transitions

The source must be opened in State 4

 

Prerequisite Function Call(s)

DTWAIN_SysInitialize

 

DTWAIN Source Selection Function

 

 

See Also

Duplex Scanner Support