Shuts down the streaming video.
#include "ltwia.h"
L_LTWIA_API L_INT EXT_FUNCTION L_WiaEndVideoPreview(hSession)
Handle to an existing WIA session. This handle is obtained by calling the L_WiaInitSession function.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
This feature is available in version 16 or higher.
This function shuts down the streaming video. To start video preview again you need to call L_WiaStartVideoPreview again.
Call this function only after a successful call to L_WiaStartVideoPreview function.
Since WIA does not support video devices in Windows Server 2003, Windows Vista, or late, then this function will only work with Windows XP or earlier operating systems.
For an example, refer to L_WiaIsVideoPreviewAvailable.