ImageGear for C and C++ on Windows v19.6 - Updated
LPFNIG_TWAIN_DEVICE_EVENT
API Reference Guide > TWAIN Component API Reference > TWAIN Component Callback Functions Reference > LPFNIG_TWAIN_DEVICE_EVENT

This callback, if registered, will be called by ImageGear when a device event occurs.

Declaration:

 
Copy Code
typedef LONG (LPACCUAPI LPFNIG_TWAIN_DEVICE_EVENT)(
        LPAT_TWAIN_DEVICEEVENT lpEvent,
        LPVOID lpData
);

Arguments:

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.

Return Value:

Set the return value to 0 to return control to ImageGear.

Supported Raster Image Formats:

This function does not process image pixels.