This function retrieves a piece of information for a multimedia instance as a whole.
Declaration:
|
Copy Code
|
AT_ERRCOUNT ACCUAPI IG_mult_info_get(
HIGMULT hMult,
AT_MODE infoID,
LPAT_VOID lpInfo,
LPAT_UINT lpInfoSize
);
|
Arguments:
Name |
Type |
Description |
hMult |
HIGMULT |
Multimedia instance handle. |
infoID |
AT_MODE |
ID of info to get. |
lpInfo |
LPAT_VOID |
Pointer to buffer in which to store info. |
lpInfoSize |
LPAT_UINT |
Size of buffer pointed to by lpInfo. |
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.
Sample:
None
Example:
|
Copy Code
|
/* Retrieve minimum frame delay setting for animated GIF */
AT_ERRCOUNT nErrcount; /* Number of errors on stack */
HIGMULT hMult; /* Multimedia instance handle */
AT_UINT msDelay; /* Minimum frame delay (milliseconds) */
nErrcount = IG_mult_info_get(hMult, IG_MULT_INFO_GIF_MIN_DELAY, &msDelay,
sizeof(msDelay));
|
Remarks:
You can specify the information to retrieve using the infoID parameter, whose value is a member of enumIGMultInfo defined in accucnst.h.