LTwain::EndSession

Summary

Ends a TWAIN session for the object.

Syntax

#include "ltwrappr.h"

virtual L_INT LTwain::EndSession ()

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

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

For each call to LTwain::InitSession there must be a call to [LTwain:EndSession. Also, 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

See Also

Functions

Topics

Example

For an example, refer to LTwain::IsAvailable.

Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS TWAIN C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.