IltmmAnalogVideoDecoder::put_OutputEnable

#include "ltmm.h"

C Syntax

HRESULT IltmmAnalogVideoDecoder__put_OutputEnable(pAnVidDec, newVal)

C++ Syntax

HRESULT IltmmAnalogVideoDecoder__put_OutputEnable(newVal)

 

IltmmAnalogVideoDecoder *pAnVidDec;

/* pointer to an interface */

VARIANT_BOOL newVal;

/* pointer to a variable*/

Enables or disables the video port bus.

Parameter

Description

pAnVidDec

Pointer to an IltmmAnalogVideoDecoder interface.

newVal

Value that specifies whether the bus is enabled. Use one of the following values

 

Value

Meaning

 

VARIANT_FALSE

Disable the video port bus.

 

VARIANT_TRUE

Enable the video port bus.

Returns

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

Call IltmmAnalogVideoDecoder::get_OutputEnable to retrieve the current video port bus status (enabled or disabled).

For more detailed information, refer to the Microsoft documentation for IAMAnalogVideoDecoder::put_OutputEnable at http://msdn.microsoft.com/archive/default.asp?url=/library/en-us/directshow/htm/iamanalogvideodecoderput_outputenable.asp

Required DLLs and Libraries

LTMM

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

See Also

Elements:

IltmmAnalogVideoDecoder interface, IltmmAnalogVideoDecoder::get_OutputEnable

Topics:

Multimedia Function Group

Example

For a C example, refer to IltmmAnalogVideoDecoder::get_AvailableTVFormats Example for C.

For a C++ example, refer to IltmmAnalogVideoDecoder::get_AvailableTVFormats Example for C++.