L_TwainEndCapsNeg

#include "lttwn.h"

L_LTTWN_API L_INT L_TwainEndCapsNeg (hSession)

Ends the process of getting and setting TWAIN capabilities.

Parameters

HTWAINSESSION hSession

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

Returns

Value Meaning
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

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS TWAIN C API Help