API Reference Guide > TWAIN Component API Reference > TWAIN Component Functions Reference > General Functions > IG_TWAIN_ctrl_set |
This function sets the value of a TWAIN control parameter.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_TWAIN_ctrl_set( AT_MODE nParamId, LPCVOID lpValue, DWORD dwValueSize ); |
Name | Type | Description |
---|---|---|
nParamId | AT_MODE |
Control parameter Id. Can be one of the following values:
|
lpValue | LPCVOID | Pointer to a memory buffer that contains the control parameter value. |
dwValueSize | DWORD | The size of memory allocated for lpValue pointer. |
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.