TwainUnloadSourceManager Method

See Also     Examples     Applies To

Unloads the Data Source Manager and release the TWAIN32.DLL.

Syntax

object.TwainUnloadSourceManager ()

The TwainUnloadSourceManager syntax has these parts:

Part Description
object Required. An object expression that evaluates to an object in the Applies To list.

Returns

Boolean. True if success, else False -> Use TwainGetLastResultCode() and TwainGetLastConditionCode() functions for diagnosing the error.

Remarks

This call will fail if the Source Manager is open.
If success, the twain state must be 1 (TWAIN_PRESESSION).
To get the TWAIN state, use the TwainGetState() function.

Category

TWAIN Functions





© Copyright 2008 GdPicture All rights reserved.
Documentation MAP.