| Herd Software Development
DaVinci Graphics Library
DaVinci Documentation Home Search Order

Leonardo: The TWAINInitialize function

Creates a HTWAINACCESS TWAIN handle which is used for subsequent functions.

HWND hwMain
LPCSTR ApplicationName);

HWND Handle of the requesting application's main window

ApplicationName Name (title) of the application

Return value:

The return value is a handle to memory used by the TWAIN interface for managing data, and as such it should be released by the application prior to closing by calling the TWAINTerminate function.

See also:

Þ TWAINAquireExt

Þ TWAINIsTwainMessage

Þ TWAINTerminate