Resets the device event capability (CAP_DEVICEEVENT) to the default values.
#include "ltwrappr.h"
L_INT LTwain::ResetDeviceEventCapability(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.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
To get the CAP_DEVICEEVENT capability values, call LTwain::GetDeviceEventCapability function.
To set the CAP_DEVICEEVENT capability values, call LTwain::SetDeviceEventCapability function.
For an example, refer to LTwain::GetDeviceEventCapability.