InitSession method (Twain Control)

C++ Builder example

Delphi 4.0 example

 

Builder Syntax

int InitSession(L_HANDLE hWind);

Delphi Syntax

Function InitSession (hWind: L_HANDLE ): L_INT;

Overview

Refer to Initializing a TWAIN Session.

Remarks

Initializes the TWAIN session.

InitSession must be called before calling any other LEADTOOLS TWAIN toolkit methods.

When the TWAIN session is no longer needed, it should be ended by calling the EndSession method. For every call to the InitSession method there must be a call to the EndSession method.

See Also

Elements:

EndSession method

Topics:

TWAIN Functionality: Twain Sessions.