API Reference Guide > TWAIN Component API Reference > TWAIN Component Functions Reference > Capability Functions > IG_TWAIN_cap_reset |
This function changes the id and item type of a capability and reallocates the container's memory according to the new item type.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_TWAIN_cap_reset( HTWAINCAP hTWAINCap, AT_MODE nCap, AT_MODE nItemType ); |
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:
|
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.