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:
- If the device is a IG_TW_FY_DOMAIN, then this command enters a directory that can contain IG_TW_FY_HOST files.
- If the device is a IG_TW_FY_HOST, then this command enters a directory that can contain IG_TW_FY_DIRECTORY files.
- If the device is a IG_TW_FY_DIRECTORY, then this command enters a directory that can contain IG_TW_FY_DIRECTORY or IG_TW_FY_IMAGE files.
Use IG_TWAIN_source_open() to select the desired Data Source.