IltmmTVTuner::get_AvailableTVFormats

#include "ltmm.h"

C Syntax

HRESULT IltmmTVTuner__get_AvailableTVFormats(pTV, pVal)

C++ Syntax

HRESULT get_AvailableTVFormats(pVal)

 

IltmmTVTuner *pTV;

/* pointer to an interface */

long *pVal;

/* pointer to a variable */

Gets the analog video TV standards supported by the installed tuner.

Parameter

Description

pTV

Pointer to an IltmmTVTuner interface.

pVal

Pointer to a variable to be updated with the supported analog video TV standards. Possible values are:

 

Value

Meaning

 

0x00000000

No analog video (digital sensor).

 

0x00000001

Analog video is NTSC (M) standard, 7.5 IRE black

 

0x00000002

Analog video is NTSC (M) standard, 0 IRE black (Japan).

 

0x00000004

NTSC-433.

 

0x00000010

Analog video is PAL-B standard.

 

0x00000020

Analog video is PAL (D) standard.

 

0x00000080

Analog video is PAL (H) standard.

 

0x00000100

Analog video is PAL (I) standard.

 

0x00000200

Analog video is PAL (M) standard.

 

0x00000400

Analog video is PAL (N) standard.

 

0x00000800

Analog video is PAL-60 standard.

 

0x00001000

Analog video is SECAM (B) standard.

 

0x00002000

Analog video is SECAM (D) standard.

 

0x00004000

Analog video is SECAM (G) standard.

 

0x00008000

Analog video is SECAM (H) standard.

 

0x00010000

Analog video is SECAM (K) standard.

 

0x00020000

Analog video is SECAM (K1) standard.

 

0x00040000

Analog video is SECAM (L) standard.

 

0x00080000

Analog video is SECAM (L1) standard.

 

0x00100000

Analog video is Combination (N) PAL standard (Argentina).

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

The retrieved value is a combination of all analog video TV standards supported. Individual values are logically OR-ed to create the combination.

For more detailed information, refer to the Microsoft documentation for IAMTVTuner::get_AvailableTVFormats.

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:

IltmmTVTuner::get_TVFormat

Topics:

Multimedia Function Group

Example

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

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