L_TwainStartCapsNeg

#include "lttw2.h"

L_INT EXT_FUNCTION L_TwainStartCapsNeg (hSession)

HTWAINSESSION hSession;

/* handle to an existing TWAIN session */

Starts 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

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

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

Topics:

Getting and Setting Capabilities

 

TWAIN Functionality: Capability Functions.

Example

For an example, refer to L_TwainAcquire.