Send a message to a driver's internal data structure.
|
Copy Code
|
|
|---|---|
AT_ERRCOUNT ACCUAPI IG_ISIS_drv_send(
HISISDRV hDriver,
WORD wMessage,
LONG lParam1,
LONG lParam2
);
|
|
| Name | Type | Description |
|---|---|---|
| hDriver | HISISDRV | The handle of the driver to which the message and parameters are being sent. |
| wMessage | WORD | The message to pass to the driver. |
| lParam1 | LONG | The first parameter of the message. (Most messages have two parameters.) |
| lParam2 | LONG | The second parameter of the message. |
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.
The following example does the functional equivalent of sending a IG_ISIS_tag_set_long function to a driver to set the image width.
|
Copy Code
|
|
|---|---|
IG_ISIS_drv_send(hDriver, IG_ISIS_tag_set_long,
MAKELONG(IG_ISIS_TAG_IMAGEWIDTH, 0), 2550)
|
|
The IG_ISIS_drv_send function calls the message handler of the driver identified by hDriver (hDriver->hData) and passes wMessage, lParam1, and lParam2 to its internal data structure.
Each ISIS driver has a single entry point through which it communicates. This entry point is accessed by sending messages together with parameters using IG_ISIS_drv_send.