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

This function gets an element of the array of a capability.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_TWAIN_cap_array_value_get(
        HTWAINCAP hTWAINCap,
        DWORD dwIndex,
        LPVOID lpValue,
        DWORD dwValueSize
);

Arguments:

Name Type Description
hTWAINCap HTWAINCAP Handle to the capability container. References the container structure where detailed information about the capability is stored.
dwIndex DWORD The position of the array element to get.
lpValue LPVOID Pointer to a memory buffer that receives the capability value.
dwValueSize DWORD The size of memory allocated for lpValue pointer.

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.

Remarks:

Applicable to TW_ON_ARRAY and TW_ON_ENUMERATION containers.