ImageGear Professional v18.2 > 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.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_TWAIN_file_format_media( LPCSTR lpszDeviceName ); |
Name | Type | Description |
lpszDeviceName | LPCSTR | The name of the scanning device. |
Returns the number of ImageGear errors that occurred during this function call. If there are no errors, the return value is IGE_SUCCESS.
This function does not process image pixels.
Caution: This operation destroys all images and subdirectories under the selected device.
Use IG_TWAIN_source_open() to select the desired Data Source.