ImageGear for C and C++ on Linux v19.10 - Updated
IG_mult_has_video
API Reference Guide > Core Component API Reference > Core Component Functions Reference > Multimedia Functions > IG_mult_has_video

This function fills a Boolean variable indicating whether or not a multimedia instance has video data available.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_mult_has_video(
        HIGMULT hMult, 
        LPAT_BOOL lpbHasVideo
);

Arguments:

Name Type Description
hMult HIGMULT Multimedia instance handle.
lpbHasVideo LPAT_BOOL Pointer to Boolean set to TRUE if multimedia instance has video.

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.

Example:

 
Copy Code
AT_ERRCOUNT nErrcount;  /* Number of errors on stack */
HIGMULT hMult;          /* Multimedia instance handle */
AT_BOOL bHasVideo;      /* Is video data available? */
nErrcount = IG_mult_has_video(hMult, &bHasVideo);