LTwain::ResetDeviceEventCapability

#include "ltwrappr.h"

L_INT LTwain::ResetDeviceEventCapability(pDeviceCap)

pTW_CAPABILITY pDeviceCap;

/* pointer to a structure */

Resets the device event capability (CAP_DEVICEEVENT) to the default values.

Parameter

Description

pDeviceCap

Pointer to the TW_CAPABILITY structure that references the capability value to reset. This structure must be allocated and filled with data corresponding to the required capability to reset.

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 set the CAP_DEVICEEVENT capability values, call LTwain::SetDeviceEventCapability 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::SetDeviceEventCapability, LTwain::GetDeviceEventCapability

Topics:

Getting and Setting Capabilities

 

TWAIN Functionality: Capability Functions

Example