L_LTTWN_API L_INT L_TwainEndSession (phSession)
Ends a TWAIN session.
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.|
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