LTwain::FreeScanConfig

Summary

Frees storage allocated for a scan configuration array.

This function is available in the Document/Medical Toolkits.

Syntax

#include "ltwrappr.h"

virtual L_INT LTwain::FreeScanConfig(ppFastConfig, nFastConfigCount)

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

See Also

Functions

Topics

Example

For an example, refer to LTwain::FindFastConfig.

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

LEADTOOLS TWAIN C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.