 
            This callback, if registered, will be called by ImageGear when a device event occurs.
| 
                        Copy Code
                     | |
|---|---|
| 
typedef LONG (LPACCUAPI LPFNIG_TWAIN_DEVICE_EVENT)(
        LPAT_TWAIN_DEVICEEVENT lpEvent,
        LPVOID lpData
);
 | |
| Name | Type | Description | 
|---|---|---|
| lpEvent | LPAT_TWAIN_DEVICEEVENT | Provides information about the Event that was raised by the Data Source. | 
| lpData | LPVOID | A far pointer to private data, as specified in your call to IG_TWAIN_CB_register() function. | 
Set the return value to 0 to return control to ImageGear.
This function does not process image pixels.