ImageGear Professional DLL for Windows
IG_TWAIN_source_open

This function loads the specified Data Source into main memory and causes its initialization.

Declaration:

 
Copy Code
AT_ERRCOUNT ACCUAPI IG_TWAIN_source_open(
        HWND hMainWnd,
        LPCSTR lpszDSName,
        AT_BOOL bShowUI
);

Arguments:

Name Type Description
hMainWnd HWND The handle of the main window in the application.
lpszDSName LPCSTR The name of the Data Source to open.
bShowUI AT_BOOL If set to TRUE and lpszDSName is NULL a call to this function will cause Data Source Manager to display the default source selection dialog.

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:

When an application is finished with the Data Source, call IG_TWAIN_source_close() to close the session between them.

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback