IltmmCapture::get_AnalogVideoDecoder

#include "ltmm.h"

C Syntax

HRESULT IltmmCapture_get_AnalogVideoDecoder(pCapture, pVal)

C++ Syntax

HRESULT get_AnalogVideoDecoder(pVal)

 

IltmmCapture * pCapture;

/* pointer to an interface */

IltmmAnalogVideoDecoder ** pVal;

/* address of a pointer to an interface*/

Retrieves a pointer to the IltmmAnalogVideoDecoder interface.

Parameter

Description

pCapture

Pointer to an IltmmCapture interface.

pVal

Address of a pointer to receive a pointer to the IltmmAnalogVideoDecoder interface.

Returns

S_OK

The function ran successfully.

<> S_OK

An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation.

Comments

The IltmmAnalogVideoDecoder interface, accessed through the pVal parameter, provides information on analog video formats and other video characteristics, such as source and scan lines.

If the function succeeds, the user should release the returned interface pointer by calling the interface’s Release method.

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.

Platforms

Win32, x64

See Also

Elements:

IltmmCapture interface, IltmmAnalogVideoDecoder interface

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++.