DTWAIN_FlushAcquiredPages
The DTWAIN_FlushAcquiredPages saves pages previously acquired to a multipage image file.
DTWAIN_BOOL DTWAIN_FlushAcquiredPages ( DTWAIN_SOURCE Source );
Parameters Source A DTWAIN_SOURCE denoting a TWAIN Source.
Return Values The return value is TRUE if successful. Otherwise FALSE is returned.
Comments The DTWAIN_FlushAcquiredPages function writes the images that have been acquired to a multipage image file. This function is only useful if the multipage mode is either DTWAIN_FILESAVE_UICLOSE or DTWAIN_FILESAVE_SOURCECLOSE (see DTWAIN_SetMultipageScanMode for more information). If the multipage mode is DTWAIN_FILESAVE_DEFAULT, the DTWAIN_FlushAcquiredPages function does nothing.
Once DTWAIN_FlushAcquiredPages is called, all outstanding pages that have been acquired from the TWAIN Source Source will be saved to the multipage image file and format specified by the previous call to DTWAIN_AcquireFile or DTWAIN_AcquireFileEx that used Source to acquire from.
TWAIN State Transitions None.
|