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

Show in webframe

#include "ltwrappr.h"

virtual L_UINT LTwain::GetNumOfCapsInFile (hFile)

HTWAINTEMPLATEFILE hFile;

/* handle to an existing template file */

Gets the number of stored capabilities from the specified file.

Parameter

Description

hFile

Handle to an existing template file.

Returns

Number of capabilities in the specified file, if the function was successful.

Comments

The template file must be opened for reading by calling LTwain::OpenTemplateFile function.

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::OpenTemplateFile, LTwain::AddCapabilityToFile, LTwain::GetCapabilityFromFile, LTwain::TemplateDlg, LTwain::CloseTemplateFile, LTwain::InitSession.

Topics:

Handling Template Files

 

TWAIN Functionality: Capability Functions.

Example

For an example, refer to LTwain::GetCapabilityFromFile.

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