L_TwainFreeContainer

#include "lttwn.h"

L_LTTWN_API L_INT L_TwainFreeContainer (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.

! = SUCCESS

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:

L_TwainCreateNumericContainerOneValue

L_TwainCreateNumericContainerArray

L_TwainCreateNumericContainerEnum

L_TwainCreateNumericContainerRange

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:

L_TwainCreateNumericContainerOneValue, L_TwainCreateNumericContainerArray, L_TwainCreateNumericContainerEnum, L_TwainCreateNumericContainerRange.

Topics:

How to Work with the Containers

 

TWAIN Functionality: Container Functions.

Example

For an example, refer to L_TwainAcquire.