EndSession method (Twain Control)

C++ Builder example

Delphi 4.0 example

 

Builder Syntax

int EndSession(void);

Delphi Syntax

Function EndSession ( ): L_INT;

Overview

Refer to Freeing the TWAIN Session.

Remarks

Ends a TWAIN session.

A TWAIN session is started by calling the InitSession method.

For each call to InitSession method there must be a call to EndSession. This function should be the last function to be called in the toolkit. It will clean up and free memory allocated during the TWAIN session.

See Also

Elements:

InitSession method.

Topics:

TWAIN Functionality: Twain Sessions.