ImageGear for C and C++ on Windows v20.0 - Updated
FNIGGUI_FORMAT_DETECT
API Reference Guide > GUI Component API Reference > GUI Component Callback Functions Reference > FNIGGUI_FORMAT_DETECT

A callback function that implements a file format detection routine.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI FNIGGUI_FORMAT_DETECT(
    LPVOID lpPrivate, 
    LPAT_MODE lpnFormat
);

Arguments:

Name Type Description
lpPrivate LPVOID A file name.
lpnFormat LPAT_MODE A pointer to a variable that will receive the Format ID.

Return Value:

Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.

Supported Raster Image Formats:

All pixel formats supported by ImageGear.

Sample:

GUI

Is this page helpful?
Yes No
Thanks for your feedback.