LTwain::FreeScanConfig

#include "ltwrappr.h"

virtual L_INT LTwain::FreeScanConfig(ppFastConfig, nFastConfigCount)

Frees storage allocated for a scan configuration array.

This function is available in the Document/Medical Toolkits.

Parameters

pFASTCONFIG *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.

L_INT nFastConfigCount

Number of array elements to free.

Returns

Value Meaning
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

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

LEADTOOLS TWAIN C++ Class Library Help