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

This function gets the data type of a capability from its container.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_TWAIN_cap_item_type_get(
        HTWAINCAP hTWAINCap,
        LPAT_MODE lpItemType
);

Arguments:

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

Capability data type. Can be one of the following values:

  • AM_TID_META_INT8
  • AM_TID_META_UINT8
  • AM_TID_META_INT16
  • AM_TID_META_UINT16
  • AM_TID_META_INT32
  • AM_TID_META_UINT32
  • AM_TID_META_BOOL
  • AM_TID_META_DOUBLE
  • AM_TID_META_STRING32
  • AM_TID_META_STRING64
  • AM_TID_META_STRING128
  • AM_TID_META_STRING255
  • AM_TID_META_STRING1024
  • AM_TID_META_STRING_UNICODE512
  • AM_TID_META_DRECT

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.