ImageGear for C and C++ on Windows v19.10 - Updated
IG_TWAIN_file_create_dir
API Reference Guide > TWAIN Component API Reference > TWAIN Component Functions Reference > Device File System Functions > IG_TWAIN_file_create_dir

This function creates a new directory within the current directory.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_TWAIN_file_create_dir(
        LPCSTR lpszDirName
);

Arguments:

Name Type Description
lpszDirName LPCSTR The name of directory.

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:

Pathnames are not allowed; only the name of the new directory can be specified.

Use IG_TWAIN_source_open() to select the desired Data Source.