Partager via


IAMTuner::put_Mode

 
Microsoft DirectShow 9.0

IAMTuner::put_Mode

The put_Mode method sets a multifunction tuner to the specified mode.

Syntax

  HRESULT put_Mode(
  AMTunerModeType lMode
);

Parameters

lMode

[in] Flag indicating which mode to switch to. Possible values are defined in the AMTunerModeType enumeration.

You can also set the mode to digital TV if the card supports it. To do this, define AMTUNER_MODE_DTV with a value of 0x0010.

Return Values

Returns an HRESULT value.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also