This function sets a piece of information for a multimedia instance as a whole.
Declaration:
Copy Code | |
---|---|
AT_ERRCOUNT ACCUAPI IG_mult_info_set( HIGMULT hMult, AT_MODE infoID, LPAT_VOID lpInfo, LPAT_UINT lpInfoSize ); |
Arguments:
hMult | Multimedia instance handle. |
infoID | ID of info to set. |
lpInfo | Pointer to buffer containing info. |
lpInfoSize | 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 | |
---|---|
/* 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)); |
Remarks:
You can specify the information to retrieve using the infoID parameter, whose value is a member of enumIGMultInfo defined in accucnst.h.