L_TwainStartCapsNeg

Summary

Starts the process of getting and setting TWAIN capabilities.

Syntax

#include "lttwn.h"

L_LTTWN_API L_INT L_TwainStartCapsNeg (hSession)

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

This function must be called before calling the following functions:

L_TwainSetProperties

L_TwainGetProperties

L_TwainEnumCapabilities

L_TwainSetCapability

L_TwainGetCapability

L_TwainGetJPEGCompression

L_TwainSetJPEGCompression

Required DLLs and Libraries

See Also

Functions

Topics

Example

For an example, refer to L_TwainAcquire.

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

LEADTOOLS TWAIN C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.