Partager via


IMSVidAnalogTuner2::get_TVFormats

 
Microsoft DirectShow 9.0

IMSVidAnalogTuner2::get_TVFormats

This topic applies to Update Rollup 2 for Microsoft Windows XP Media Center Edition 2005.

The get_TVFormats method retrieves a flag value that indicates which TV formats the tuner supports, such as NTSC, PAL, or SECAM.

Syntax

  HRESULT get_TVFormats(
  
  long*
  
  Formats
  
  );

Parameters

  Formats

[out] Pointer to a variable that receives the formats flag. Possible values are the sum of one or more of the values in the following table.

Value Description
0x00000000 Digital sensor
0x00000001 NTSC (M) standard, 7.5 IRE black
0x00000002 NTSC (M) standard, 0 IRE black (Japan)
0x00000004 NTSC-433
0x00000010 PAL-B standard
0x00000020 PAL (D) standard
0x00000080 PAL (H) standard
0x00000100 PAL (I) standard
0x00000200 PAL (M) standard
0x00000400 PAL (N) standard
0x00000800 PAL-60 standard
0x00001000 SECAM (B) standard
0x00002000 SECAM (D) standard
0x00004000 SECAM (G) standard
0x00008000 SECAM (H) standard
0x00010000 SECAM (K) standard
0x00020000 SECAM (K1) standard
0x00040000 SECAM (L) standard
0x00080000 SECAM (L1) standard
0x00100000 Combination (N) PAL standard (Argentina)

Return Values

Returns an HRESULT value. Possible values include the following.

Value Description
E_POINTER NULL pointer argument.
S_OK Success.

Requirements

  Header: Dshow.h.

  Library: Quartz.dll.

See Also