DTWAIN_GetDuplexType |
Top Previous Next |
The DTWAIN_GetDuplexType function gets the duplex mode that is supported by the Source.
DTWAIN_BOOL DTWAIN_GetDuplexType (
Parameters Source Specifies an open TWAIN Source.
lpDuplexType NULL, or the address of LONG variable that will be filled in with the duplex type
Return Values If duplex mode is supported for the Source, TRUE is returned. Otherwise FALSE is returned.
Comments The DTWAIN_GetDuplexType function takes the open Source Source, and checks to see if duplex mode is supported. If lpDuplexType is not NULL, DTWAIN_GetDuplexType will fill the address lpDuplexType with the duplex device type. A list of the duplex device type can be one of the following:
If FALSE is returned and lpDuplexType is not NULL, the application should check if the lpDuplexType value is set to DTWAIN_DX_NONE. This indicates that the Source does not support duplex mode, and is not fully TWAIN compliant with respect to querying duplex support.
TWAIN State Transitions The source must be opened in State 4
Prerequisite Function Call(s)
DTWAIN Source Selection Function
See Also |