IltmfTVTuner::get_TVFormat

Summary

Gets the analog video TV standard in use.

Syntax

#include "ltmf.h"

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

Parameters

IltmfTVTuner *pTV

Pointer to an IltmfTVTuner 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 MediaFoundation documentation.

Comments

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

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

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

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