ImageGear for C and C++ on Windows v19.8 - Updated
IG_mult_close
API Reference Guide > Core Component API Reference > Core Component Functions Reference > Multimedia Functions > IG_mult_close

This function closes a multimedia instance.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_mult_close(HIGMULT hMult);

Arguments:

Name Type Description
hMult HIGMULT Multimedia instance handle.

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:

Media Player

Example:

 
Copy Code
AT_ERRCOUNT nErrcount;  /* Number of errors on stack */
HIGMULT hMult;          /* Multimedia instance handle */
nErrcount = IG_mult_close(hMult);

Remarks:

You must call this function after opening a multimedia instance in order to ensure that all associated resources are freed.