Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.23
LEADTOOLS TWAIN C++ Class Library Help

LTwain::EnumCapabilities

Show in webframe

#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:

Getting and Setting Capabilities

 

TWAIN Functionality: Capability Functions.

Example

For an example, refer to LTwain::AddCapabilityToFile.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.