DTwainInterface::ForceTwainShutdown

Top  Previous  Next

Syntax

static bool DTwainInterface::ForceTwainShutdown( );

 

Return Value

Returns true if successful, false otherwise.

 

Comments

Shuts down DTWAIN.  Usually the ~DTwainInterface( ) is used to shutdown DTWAIN, but only if the internal reference count to the number of DTwainInterface objects is 0.  If your application needs to force closure of DTWAIN (and also TWAIN), the ForceTwainShutdown should be called.