#include "ltwrappr.h"
virtual L_INT LTwain::EnumCapabilities (uFlags)
Gets the supported capabilities and specified value(s) for each capability.
Flags that indicate the capability values to get when enumerating a TWAIN capability. Possible values are:
| Value | Meaning |
|---|---|
| LTWAIN_CAPABILITY_DONTGET | [0] Do not get any capability values. |
| LTWAIN_CAPABILITY_GETCURRENT | [3] Get the current capability value. |
| LTWAIN_CAPABILITY_GETDEFAULT | [4] Get the default capability value. |
| LTWAIN_CAPABILITY_GETVALUES | [5] Get all available capability values. |
| Value | Meaning |
|---|---|
| SUCCESS | The function was successful. |
| < 1 | An error occurred. Refer to Return Codes. |
Required DLLs and Libraries
For an example, refer to LTwain::AddCapabilityToFile.