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++ Class Library Help

LTwain::SetDeviceEventCapability

Show in webframe

#include "ltwrappr.h"

L_INT LTwain::SetDeviceEventCapability(pDeviceCap)

pTW_CAPABILITY pDeviceCap;

/* pointer to a structure */

Sets the device event capability (CAP_DEVICEEVENT) values for the current TWAIN session.

Parameter

Description

pDeviceCap

Pointer to the TW_CAPABILITY structure that references the capability value to set. This structure must be allocated and filled with data corresponding to the required capability before passing it to the function.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

To get the CAP_DEVICEEVENT capability values, call LTwain::GetDeviceEventCapability function.

To reset the CAP_DEVICEEVENT capability values to the default values, call LTwain::ResetDeviceEventCapability function.

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:

LTwain::GetDeviceEventData, LTwain::GetDeviceEventCapability, LTwain::ResetDeviceEventCapability

Topics:

Getting and Setting Capabilities

 

TWAIN Functionality: Capability Functions

Example

For an example, refer to LTwain::GetDeviceEventCapability.

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