DTWAIN_EndThread
The DTWAIN_EndThread function is called at the termination of a DTWAIN thread.
LONG DTWAIN_EndThread ( LONG DLLHandle );
Parameters DLLHandle The value returned from DTWAIN_SysInitialize or DTWAIN_SysInitializeEx.
Return Values If the function succeeds, a non-zero value is returned. If the function fails, zero (0) is returned.
Comments
The DTWAIN_EndThread function should be called at the end of a DTWAIN thread started with DTWAIN_StartThread.
For more information on multithreading issues with DTWAIN, please see DTWAIN Multithreading Issues
TWAIN State Transitions
Prerequisite Calls None.
Optional Prerequisite Calls None.
See Also DTWAIN_SysDestroy, DTWAIN_IsTwainAvailable, DTWAIN_IsInitialized |