LTwain::EnumCapabilities

Summary

Gets the supported capabilities and specified value(s) for each capability.

Syntax

#include "ltwrappr.h"

virtual L_INT LTwain::EnumCapabilities (uFlags)

Parameters

L_UINT 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.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Required DLLs and Libraries

See Also

Functions

Topics

Example

For an example, refer to LTwain::AddCapabilityToFile.

Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS TWAIN C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.