LTwain::SetDeviceEventCapability

Summary

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

Syntax

#include "ltwrappr.h"

L_INT LTwain::SetDeviceEventCapability(pDeviceCap)

Parameters

pTW_CAPABILITY 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

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

See Also

Functions

Topics

Example

For an example, refer to LTwain::GetDeviceEventCapability.

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

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