Gets the supported capabilities and specified value(s) for each capability.
#include "ltwrappr.h"
virtual L_INT LTwain::EnumCapabilities (uFlags)
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. | 
For an example, refer to LTwain::AddCapabilityToFile.