IltmmTVTuner::get_TVFormat

Summary

Gets the analog video TV standard in use.

Syntax

#include "ltmm.h"

Language Syntax
C HRESULT IltmmTVTuner_get_TVFormat(pTV, pVal)
C++ HRESULT get_TVFormat(pVal)

Parameters

IltmmTVTuner *pTV

Pointer to an IltmmTVTuner interface.

long *pVal

Pointer to a variable to be updated with the TV standard in use. 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

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 determine the analog video TV standards supported by the installed tuner, use IltmmTVTuner::get_AvailableTVFormats.

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

Required DLLs and Libraries

Platforms

Win32, x64.

See Also

Functions

Topics

Example

Language Example
C IltmmTVTuner::get_AvailableTVFormats
C++ IltmmTVTuner::get_AvailableTVFormats
Help Version 22.0.2023.1.26
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

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