Available in LEADTOOLS Imaging Pro, Vector, Document, and Medical Imaging toolkits. |
L_WiaEndVideoPreview
#include "ltwia.h"
L_LTWIA_API L_INT EXT_FUNCTION L_WiaEndVideoPreview(hSession)
HWIASESSION hSession; |
/* handle to an existing WIA session */ |
Shuts down the streaming video.
Parameter |
Description |
hSession |
Handle to an existing WIA session. This handle is obtained by calling the L_WiaInitSession function. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
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.
Required DLLs and Libraries
LTWIA For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Platforms
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.
See Also
Functions: |
L_WiaStartVideoPreview, L_WiaResizeVideoPreview, L_WiaIsVideoPreviewAvailable, L_WiaAcquireImageFromVideo, L_WiaInitSession, L_WiaEndSession. |
Topics: |
|
|
Example
For an example, refer to L_WiaIsVideoPreviewAvailable.