LTwain::FreeScanConfig

#include "ltwrappr.h"

virtual L_INT LTwain::FreeScanConfig(ppFastConfig, nFastConfigCount)

pFASTCONFIG *ppFastConfig;

/* address of a pointer to a FASTCONFIG structure */

L_INT nFastConfigCount;

/* number of array elements */

Frees storage allocated for a scan configuration array. This function is available in the Document/Medical Toolkits.

Parameter

Description

ppFastConfig

Address of the pointer to the array of FASTCONFIG structures. This function will free the array of FASTCONFIG structures allocated by LTwain::FindFastConfig and LTwain::GetScanConfigs.

nFastConfigCount

Number of array elements to free.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

Call this function to free the memory allocated by the LTwain::FindFastConfig and LTwain::GetScanConfigs functions.

This function should be called when your program no longer needs the array of FASTCONFIG structures.

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::Acquire, LTwain::AcquireList, LTwain::InitSession, LTwain::EndSession, LTwain::OpenTemplateFile, LTwain::CloseTemplateFile, LTwain::TemplateDlg, LTwain::AddCapabilityToFile, LTwain::GetNumofCapsInFile, LTwain::GetCapabilityFromFile, LTwain::AcquireMulti, LTwain::FindFastConfig, LTwain::GetScanConfigs

Topics:

Fast TWAIN (Scan Configurations)

 

TWAIN Functionality: Fast TWAIN (Scan Configuration) Functions.

Example

For an example, refer to LTwain::FindFastConfig.