Frees storage allocated for a scan configuration array.
This function is available in the Document/Medical Toolkits.
#include "ltwrappr.h"
virtual L_INT LTwain::FreeScanConfig(ppFastConfig, nFastConfigCount)
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.
For an example, refer to LTwain::FindFastConfig.