L_TwainCloseTemplateFile

Summary

Closes the opened template file.

Syntax

#include "lttwn.h"

L_LTTWN_API L_INT L_TwainCloseTemplateFile (hSession, hFile)

Parameters

HTWAINSESSION hSession

Handle to an existing TWAIN session. This handle is obtained by calling the L_TwainInitSession or L_TwainInitSession2 function.

HTWAINTEMPLATEFILE hFile

Handle to an existing template file.

Returns

Value Meaning
SUCCESS The function was successful.
! = SUCCESS An error occurred. Refer to Return Codes.

Comments

Closes and saves the template file opened by calling the L_TwainOpenTemplateFile function.

For more information on template files, refer to Handling Template Files.

Required DLLs and Libraries

See Also

Functions

Topics

Example

For an example, refer to L_TwainAddCapabilityToFile.

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

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