LTwain::CloseTemplateFile

#include "ltwrappr.h"

virtual L_INT LTwain::CloseTemplateFile (hFile)

HTWAINTEMPLATEFILE hFile;

/* handle to an existing template file */

Closes the opened template file.

Parameter

Description

hFile

Handle to an existing template file.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

Closes and saves the template file opened by calling the LTwain::OpenTemplateFile function.

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

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::OpenTemplateFile, LTwain::AddCapabilityToFile, LTwain::GetCapabilityFromFile, LTwain::GetNumOfCapsInFile, LTwain::TemplateDlg, LTwain::InitSession, LTwain::EndSession.

Topics:

Handling Template Files

 

TWAIN Functionality: Template File Functions.

Example

For an example, refer to LTwain::AddCapabilityToFile.