#include "lttwn.h"
L_LTTWN_API L_INT L_TwainEndSession (phSession)
pHTWAINSESSION phSession; |
handle to an existing session handle |
Ends a TWAIN session.
Parameter |
Description |
phSession |
Pointer to a handle to an existing TWAIN session, created by calling the L_TwainInitSession function. |
SUCCESS |
The function was successful. |
! = SUCCESS |
An error occurred. Refer to Return Codes. |
A TWAIN session is started by calling the L_TwainInitSession function.
For each call to L_TwainInitSession there must be a call to L_TwainEndSession. 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.
Required DLLs and Libraries
LTTWN For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files to be Included with your Application. |