Glossary Item Box

ImageMan DLL Suite Version 8 Submit feedback on this topic   

ScanIsTwainAvailable

BOOL IMAPI ScanIsTwainAvailable (void)

This functions determines whether any TWAIN compatible devices are installed.

 

This function takes no parameters.

 

Return Value

The return value is 1 if TWAIN is installed otherwise 0.

Comments

Applications should call this function to determine if any TWAIN devices are installed and enable or disable menu options as appropriate.

Example

If( ScanIsTwainAvailable() )

// Enable TWAIN menu options

else

// Disable scanning menu options

 

 


Copyright 2008 Data Techniques, Inc. All Rights Reserved