DTWAIN_GetTwainMode
The DTWAIN_GetTwainMode function gets the method in which DTWAIN will communicate with the TWAIN system during acquisitions.
LONG DTWAIN_GetTwainMode( );
Parameters None.
Return Values The return value of the current mode if successful. Otherwise DTWAIN_FAILURE1 is returned.
Comments The DTWAIN_GetTwainMode function gets the method in which DTWAIN will communicate with TWAIN whenever an acquisition occurs, or when DTWAIN_ShowUIOnly is called. Acquisitions occur during TWAIN States 6 and 7. The return values will be DTWAIN_FAILURE1 if the function fails, or one of the following values:
Modeless and Modal acquisition processing is defined in detail in the topic Introduction to DTWAIN Acquisition Processing.
TWAIN State Transitions None.
Prerequisite Function Call(s)
See Also |