#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. |
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
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. |
Functions: |
LTwain::OpenTemplateFile, LTwain::AddCapabilityToFile, LTwain::GetCapabilityFromFile, LTwain::GetNumOfCapsInFile, LTwain::TemplateDlg, LTwain::InitSession, LTwain::EndSession. |
Topics: |
|
|
For an example, refer to LTwain::AddCapabilityToFile.