Windows Media Audio and Video Codec and DSP APIs IWMResizerProps::SetInterlaceMode 

banner art

Previous Next

IWMResizerProps::SetInterlaceMode

The SetInterlaceMode method specifies whether the input stream is interlaced.

Syntax

  HRESULT SetInterlaceMode(
  LONG  lmode
);

Parameters

lmode

[in]  Boolean value. If TRUE, the video is interlaced. If FALSE, the video is progressive.

Return Values

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK The method succeeded.

Remarks

This method is equivalent to setting the MFPKEY_RESIZE_INTERLACE property.

Requirements

Client: Requires Windows Vista.

Header: Include wmcodecdsp.h.

See Also

Previous Next