This function registers one of the seven available scan callback functions.
Declaration:
Copy Code |
|
|---|---|
AT_ERRCOUNT ACCUAPI IG_TWAIN_CB_register(
LPVOID lpfnTwainCB,
AT_MODE nCBType,
LPVOID lpData);
|
|
Arguments:
| lpfnTwainCB | A FAR pointer to the scan callback function you would like to register. |
| nCBType |
Set to the type of callback being registered. Use one of the following ImageGear-defined constants:
|
| lpData | Optional pointer from which to pass and receive data. Set to NULL if you don't need to do this. |
Return Value:
Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.
Supported Raster Image Formats:
This function does not process image pixels.
