DTWAIN_IsMaxBuffersSupported
The DTWAIN_IsMaxBuffersSupported function checks if a Source supports setting of the number of pages to buffer for high-speed scanning.
DTWAIN_BOOL DTWAIN_IsMaxBuffersSupported (
Parameters Source Specifies an open TWAIN Source.
NumBuffers Specifies the number of pages to test to see if the device supports it, or DTWAIN_ANYSUPPORT
Return Values If setting of the batch buffers is supported for the Source, TRUE is returned. Otherwise FALSE is returned.
Comments The DTWAIN_IsMaxBuffersSupported function takes the open Source Source, and checks to see if the buffers setting NumBuffers is supported. The NumBuffers must be greater than 1. If NumBuffers is DTWAIN_ANYSUPPORT, DTWAIN_IsMaxBuffersSupported returns whether the Source supports setting the batch buffers, regardless of the number of pages to buffer.
The number of pages to buffer is a major component of high-speed scanning.
TWAIN State Transitions The source must be opened in State 4
Prerequisite Function Call(s)
DTWAIN Source Selection Function
See Also
|