LEADTOOLS Media Foundation Help > LEADTOOLS Media Foundation Features > Media Foundation Function References > IltmfTVTuner Interface > IltmfTVTuner::get_TVFormat |
#include "ltmf.h"
C Syntax |
HRESULT IltmfTVTuner_get_TVFormat(pTV, pVal) |
C++ Syntax |
HRESULT get_TVFormat(pVal) |
IltmfTVTuner *pTV; |
/* pointer to an interface */ |
long *pVal; |
/* pointer to a variable */ |
Gets the analog video TV standard in use.
Parameter |
Description |
|
pTV |
Pointer to an IltmfTVTuner interface. |
|
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
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
LTMF For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Win32, x64
See Also
Elements: |
|
Topics: |
Example
For a C example, refer to IltmfTVTuner::get_AvailableTVFormats Example for C++.