Frees the container of the specified structure.
#include "ltwrappr.h"
virtual L_INT LTwain::FreeContainer (pCapability)
Pointer to a structure that contains the capability container to free.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
The container in the TW_CAPABILITY structure will be internally freed.
This is a container that was allocated by one of the following functions:
LTwain::CreateNumericContainerOneValue
LTwain::CreateNumericContainerArray
LTwain::CreateNumericContainerEnum
LTwain::CreateNumericContainerRange
For an example, refer to LTwain::Acquire.