LEADTOOLS TWAIN C++ Class Library Help > Classes and Function References > LTwain > LTwain Class Members > LTwain::EnumCapabilities |
#include "ltwrappr.h"
virtual L_INT LTwain::EnumCapabilities (uFlags)
L_UINT uFlags; |
/* optional flags */ |
Gets the supported capabilities and specified value(s) of each capability.
Parameter |
Description |
|
uFlags |
Flags that indicate the capability values to get when enumerating the TWAIN capability. Possible values are: |
|
|
Value |
Meaning |
|
LTWAIN_CAPABILITY_DONTGET |
[0] Get no 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. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Required DLLs and Libraries
LTTWN For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
See Also
Functions: |
LTwain::SetProperties, LTwain::GetProperties, LTwain::SetCapability, LTwain::GetCapability, LTwain::InitSession, LTwain::EndSession. |
Topics: |
|
|
Example
For an example, refer to LTwain::AddCapabilityToFile.