ImageGear for C and C++ on Windows v19.1 - Updated
IG_TWAIN_cap_is_valid
API Reference Guide > TWAIN Component API Reference > TWAIN Component Functions Reference > Capability Functions > IG_TWAIN_cap_is_valid

This function checks whether the handle to a capability container is valid.

Declaration:

 
Copy Code
AT_BOOL ACCUAPI IG_TWAIN_cap_is_valid(
        HTWAINCAP hTWAINCap
);

Arguments:

Name Type Description
hTWAINCap HTWAINCAP Handle to a capability container. References the container structure where detailed information about the capability is stored.

Return Value:

Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.

Supported Raster Image Formats:

This function does not process image pixels.