#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.
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.
Number of array elements to free.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
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
For an example, refer to LTwain::FindFastConfig.