ImageGear for C and C++ on Linux v18.8 - Updated
IG_comm_comp_list
API Reference Guide > Core Component API Reference > Core Component Functions Reference > Component Manager Functions > IG_comm_comp_list

This function allows you to obtain information about currently loaded components.

Declaration:

 
Copy Code
AT_ERRCODE  ACCUAPI  IG_comm_comp_list(
        LPUINT* lpnCount, 
        UINT nIndex, 
        LPCHAR lpComp, 
        DWORD dwCompSize, 
        LPUINT lpnRevMajor,
        LPUINT lpnRevMinor,
        LPUINT lpnRevUpdate,
        LPCHAR lpBuildDate,
        UINT nBDSize,
        LPCHAR lpInfoStr,
        UINT nISSize
);

Arguments:

Name Type Description
lpnCount LPUINT* OUT: The number of attached components.
nIndex UINT IN: The index of component from the list.
lpComp LPCHAR OUT: The buffer where to return the name of component specified by nIndex index.
dwCompSize DWORD IN: The size of lpBuffer in bytes.
lpnRevMajor LPUINT Far pointer to an INT variable in which will be stored the Major version number of the version of the Component specified by nIndex.
lpnRevMinor LPUINT Far pointer to an INT variable in which will be stored the Minor version number of the version of the Component specified by nIndex.
lpnRevUpdate LPUINT Far pointer to an INT variable in which will be stored the Update (bug fix) number, reflecting any updates you have received and installed in this version of the Component specified by nIndex.
lpBuildDate LPCHAR The buffer where to return the build date of the current version of the Component specified by nIndex. The return value is a string in the format "Mmm dd yyyy", such as "Jul 04 2019."
nBDSize UINT The size of buffer where lpBuildDate is returned.
lpInfoStr LPCHAR The buffer where to return the info string about the Component specified by nIndex.
nISSize UINT The size of buffer where lpInfoStr is returned.

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:

First argument returns actual number of attached components. nIndex specifies the index of the component in the components list which name is copied into lpBuffer. The rest of parameters return information about component specified by nIndex.