See Also Examples Applies To
Return the last result code from the last message sent to TWAIN.
Syntax
object.TwainGetLastResultCode ()
The TwainGetLastResultCode syntax has these parts:
| Part | Description |
| object | Required. An object expression that evaluates to an object in the Applies To list. |
Returns
Long. TwainResultCode Value. Can be:
TWRC_SUCCESS = 0 //OK
TWRC_FAILURE = 1 //Failure, check the last condition code
TWRC_CHECKSTATUS = 2 //"tried hard"; get status
TWRC_CANCEL = 3 //Operation canceled
TWRC_DSEVENT = 4
TWRC_NOTDSEVENT = 5
TWRC_XFERDONE = 6
TWRC_ENDOFLIST = 7
TWRC_INFONOTSUPPORTED = 8
TWRC_DATANOTAVAILABLE = 9
Category
TWAIN Capability