Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS TWAIN C++ Class Library Help

LTwain::EndSession

Show in webframe

#include "ltwrappr.h"

virtual L_INT LTwain::EndSession ()

Ends a TWAIN session for the object.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

A TWAIN session is started by calling the LTwain::InitSession function.

For each call to LTwain::InitSession there must be a call to LTwain::EndSession. This function should be the last function to be called in the toolkit. It will clean up and free memory allocated during the TWAIN session.

Required DLLs and Libraries

LTTWN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

LTwain::InitSession.

Topics:

Freeing the TWAIN Session

 

TWAIN Functionality: Session Functions.

Example

For an example, refer to LTwain::IsAvailable.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.