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

This function selects the current device within the Data Source (camera, storage, etc.).

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_TWAIN_file_change_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:

Use IG_TWAIN_source_open() to select the desired Data Source.