共用方式為


IScanningTunerEx::GetCurrentTunerStandardCapability

 
Microsoft DirectShow 9.0

IScanningTunerEx::GetCurrentTunerStandardCapability

This topic applies to Windows Vista.

The GetCurrentTunerStandardCapability method retrieves the tuner's capabilities for a specified broadcast standard.

Syntax

  HRESULT GetCurrentTunerStandardCapability(
    GUID 
  CurrentBroadcastStandard
  ,  
    long *
  SettlingTime
  ,
    long *
  TvStandardsSupported

  );

Parameters

CurrentBroadcastStandard

[in]  GUID that specifies the broadcast standard to query. To find the broadcast standards supported by the tuner, call GetTunerScanningCapability.

SettlingTime

[out]  Receives the approximate amount of time the tuner requires to tune to a frequency, in milliseconds.

TvStandardsSupported

[out]  If CurrentBroadcastStandard is ANALOG_TV_NETWORK_TYPE, this parameter receives a bitwise OR of flags from the AnalogVideoStandard enumeration, indicating which analog television formats are supported by the tuner. Otherwise, this parameter is ignored.

Return Values

When the method succeeds, it returns S_OK. Otherwise it returns an HRESULT error code.

Requirements

Header: Include Tuner.h.

See Also