ImageGear for C and C++ on Windows v20.1 - Updated
IG_TWAIN_file_format_media
API Reference Guide > TWAIN Component API Reference > TWAIN Component Functions Reference > Device File System Functions > IG_TWAIN_file_format_media

This function formats the specified storage.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_TWAIN_file_format_media(
        LPCSTR lpszDeviceName
);

Arguments:

Name Type Description
lpszDeviceName LPCSTR The name of the scanning device.

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.

Remarks:

Caution: This operation destroys all images and subdirectories under the selected device. 

Use IG_TWAIN_source_open() to select the desired Data Source.

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