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