API Reference Guide > TWAIN Component API Reference > TWAIN Component Functions Reference > Capability Functions > IG_TWAIN_cap_set |
This function sets or resets the current value of a capability.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_TWAIN_cap_set( HTWAINCAP hTWAINCap, AT_MODE nMsgId ); |
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:
|
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.
Use IG_TWAIN_source_open() to select the desired Data Source, prior to calling this function.