FreeScanConfig method (Twain Control)

C++ Builder example

Delphi 4.0 example

 

Builder Syntax

int FreeScanConfig(ppFASTCONFIG ppFastConfig, int nFastConfigCount);

Delphi Syntax

Function FreeScanConfig (ppFastConfig: ppFASTCONFIG; nFastConfigCount: L_INT ): L_INT;

Overview

Refer to Fast TWAIN (Scan Configurations).

Remarks

(Document/Medical only) Frees storage allocated for a scan configuration array.

Call this method to free the memory allocated by the FindFastConfig and GetScanConfigs methods.

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

See Also

Elements:

Acquire method, InitSession method, EndSession method, OpenTemplateFile method, CloseTemplateFile method, ShowTemplateDlg method, AddCapabilityToFile method, GetNumOfCapsInFile method, GetCapabilityFromFile method, AcquireMulti method, FindFastConfig method, GetScanConfigs method

Topics:

TWAIN Functionality: Fast TWAIN (Scan Configuration).