LTwain::FreeContainer

#include "ltwrappr.h"

virtual L_INT LTwain::FreeContainer (pCapability)

TW_CAPABILITY * pCapability;

/* pointer to a structure */

Frees the container of the specified structure.

Parameter

Description

pCapability

Pointer to a structure that contains the capability container to free.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

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

Required DLLs and Libraries

LTTWN

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Functions:

LTwain::CreateNumericContainerOneValue, LTwain::CreateNumericContainerArray, LTwain::CreateNumericContainerEnum, LTwain::CreateNumericContainerRange.

Topics:

How to Work with the Containers

 

TWAIN Functionality: Container Functions.

Example

For an example, refer to LTwain::Acquire.