ImageGear Professional v18.2 > API Reference Guide > Core Component API Reference > Core Component Functions Reference > Multimedia Functions > IG_mult_info_set |
This function sets a piece of information for a multimedia instance as a whole.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_mult_info_set( HIGMULT hMult, AT_MODE infoID, LPAT_VOID lpInfo, LPAT_UINT lpInfoSize ); |
Name | Type | Description |
hMult | HIGMULT | Multimedia instance handle. |
infoID | AT_MODE | ID of info to set. |
lpInfo | LPAT_VOID | Pointer to buffer containing info. |
lpInfoSize | LPAT_UINT | Size of buffer pointed to by lpInfo. |
Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.
This function does not process image pixels.
Copy Code
|
|
---|---|
/* Set minimum frame delay setting for animated GIF to 100ms */ AT_ERRCOUNT nErrcount; /* Number of errors on stack */ HIGMULT hMult; /* Multimedia instance handle */ AT_UINT msDelay = 100; /* Minimum frame delay (milliseconds) */ nErrcount = IG_mult_info_set(hMult, IG_MULT_INFO_GIF_MIN_DELAY, &msDelay, sizeof(msDelay)); |
You can specify the information to retrieve using the infoID parameter, whose value is a member of enumIGMultInfo defined in accucnst.h.