GetBiTwainLastError

#include "BiTwain.h"

 

int CALLBACK GetBiTwainLastError ()

Description

This function retrieves the last scanning error code.

Parameters

Return values

Return the last error code.

Requirements

Header :     Declared in BiTwain.h; include BiTwain.h.

Library :    Use BiTwain.lib.

DLLs :       BiTwain.dll.

GetKeepTwainScanDialogOpen

#include " BiTwain.h"

 

BOOL CALLBACK GetKeepTwainScanDialogOpen()

Description

Returns that the Twain dialog of the scanner driver will close or remain open after the scanning. In order to set this value use the SetKeepTwainScanDialogOpen function. If not set the default value is FALSE.

Parameters

Return values

TRUE              The Twain dialog of the scanner will remain open after the scanning (new scanning can be started from the Twain dialog).

FALSE            The Twain dialog of the scanner will close after the scanning.

 

Requirements

Header :    Declared in BiTwain.h; include BiTwain.h

Library :    Use BiTwain.lib.

DLLs :       BiTwain.dll.