L_WiaEndVideoPreview

Summary

Shuts down the streaming video.

Syntax

#include "ltwia.h"

L_LTWIA_API L_INT EXT_FUNCTION L_WiaEndVideoPreview(hSession)

Parameters

HWIASESSION hSession

Handle to an existing WIA session. This handle is obtained by calling the L_WiaInitSession function.

Returns

Value Meaning
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

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

Topics

Example

For an example, refer to L_WiaIsVideoPreviewAvailable.

Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS WIA C API Help

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.