DTwainInterface::EndSession

Top  Previous  Next

Syntax

bool DTwainInterface::EndSession( );

 

Return Value

Returns true if successful, false otherwise.

 

Comments

Ends a TWAIN Session started by DTwainInterface::StartSession, or by the DTwainInterface constructor.  DTWAIN is not shutdown when EndSession is called, only the actual link to the TWAIN Source Manager is terminated.  To reestablish the link, the DTwainInterface::StartSession must be called (or a DTwainInterface must be destroyed and created).