This function changes the id and item type of a capability and reallocates the container's memory according to the new item type.
Declaration:
Copy Code |
|
|---|---|
AT_ERRCOUNT ACCUAPI IG_TWAIN_cap_reset(
HTWAINCAP hTWAINCap,
AT_MODE nCap,
AT_MODE nItemType
);
|
|
Arguments:
| Name | Type | Description |
| hTWAINCap | HTWAINCAP | Handle to the capability container. References the container structure where detailed information about the capability is stored. |
| nCap | AT_MODE | The numeric designator of the capability (of the form IG_TW_CAP_xxxx, IG_TW_ICAP_xxxx, or IG_TW_ACAP_xxxx). |
| nItemType | AT_MODE |
Capability data type. Can be one of the following values:
|
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.