Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS TWAIN C DLL Help

L_TwainEndCapsNeg

Show in webframe

#include "lttwn.h"

L_LTTWN_API L_INT L_TwainEndCapsNeg (hSession)

HTWAINSESSION hSession;

/* handle to an existing TWAIN session */

Ends the process of getting and setting TWAIN capabilities.

Parameter

Description

hSession

Handle to an existing TWAIN session. This handle is obtained by calling the L_TwainInitSession function.

Returns

SUCCESS

The function was successful.

! = SUCCESS

An error occurred. Refer to Return Codes.

Comments

The process of getting and setting TWAIN capabilities is started by calling L_TwainStartCapsNeg.

When the user has retrieved and set all the desired capabilities, this function must be called to free the data allocated by the L_TwainStartCapsNeg function. For every call to L_TwainStartCapsNeg there must be a call to L_TwainEndCapsNeg.

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_TwainStartCapsNeg, L_TwainSetProperties, L_TwainGetProperties, L_TwainSetCapability, L_TwainGetCapability, L_TwainInitSession.

Topics:

Getting and Setting Capabilities

 

TWAIN Functionality: Capability Functions.

Example

For an example, refer to L_TwainAcquire.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.