ILMMixCapSrcStream::put_VideoEnable

Summary

Enables or disables the stream's video.

Syntax

#include "ilmmixcapsrc.h"
Platform Syntax
C HRESULT ILMMixCapSrcStream_put_VideoEnable(pixCapSrcStream, newVal)
C++ HRESULT put_VideoEnable(newVal)

Parameters

ILMMixCapSrcStream * pixCapSrcStream

Pointer to an ILMMixCapSrcStream interface.

VARIANT_BOOL newVal

Flag that indicates whether to enable or disable video. Possible values are:

Value Meaning
VARIANT_TRUE Enable video. This is the default value.
VARIANT_FALSE Disable video.

Returns

Value Meaning
S_OK The function was successful.
<> S_OK An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation.

Comments

To query whether the stream's video is enabled or disabled, call ILMMixCapSrcStream::get_VideoEnable.

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

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

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