ImageGear for C and C++ on Windows v19.0
IG_TWAIN_cap_default_value_set

This function sets the default value of a capability in its container.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_TWAIN_cap_default_value_set(
        HTWAINCAP hTWAINCap,
        LPCVOID 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.
lpValue LPCVOID Pointer to a memory buffer that contains the 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_ENUMERATION and TW_ON_RANGE containers.

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback