DTWAIN_GetManualDuplexCount
The DTWAIN_GetManualDuplexCount function gets the number of pages acquired when using the Manual Duplex Mode.
LONG DTWAIN_GetManualDuplexCount (
Parameters Source A DTWAIN_SOURCE that denotes a TWAIN Source.
pSide1 Pointer to LONG type. On return, will denote the number of pages acquired for side 1.
pSide2 Pointer to LONG type. On return, will denote the number of pages acquired for side 2.
Return Values If this function is successful, TRUE is returned, otherwise FALSE is returned.
Comments The DTWAIN_GetManualDuplexCount gets the number of pages acquired for side 1 and side 2 when the manual duplex mode option is selected. This function should be called during DTWAIN Notification processing, and can be used to determine if the number of pages acquired for both sides of the paper are the same.
TWAIN State Transitions None
Prerequisite Function Call(s)
|