This function sets or resets the current value of a capability.
Declaration:
|
Copy Code
|
AT_ERRCOUNT ACCUAPI IG_TWAIN_cap_set(
HTWAINCAP hTWAINCap,
AT_MODE nMsgId
);
|
Arguments:
Name |
Type |
Description |
hTWAINCap |
HTWAINCAP |
Handle to a capability container. References the container structure where detailed information about the capability is stored. |
nMsgId |
AT_MODE |
Message ID. Can be one of the following values:
- IG_TW_MSG_SET - Set one or more capability values.
- IG_TW_MSG_RESET - Set current capability value to default value.
|
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.
Remarks:
Use IG_TWAIN_source_open() to select the desired Data Source, prior to calling this function.