Frees the container of the specified structure.
#include "lttwn.h"
L_LTTWN_API L_INT L_TwainFreeContainer (pCapability)
Pointer to a structure that contains the capability container to free.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
! = SUCCESS | 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:
L_TwainCreateNumericContainerOneValue
L_TwainCreateNumericContainerArray
L_TwainCreateNumericContainerEnum
L_TwainCreateNumericContainerRange
For an example, refer to L_TwainAcquire.