IWMResizerProps::SetInterlaceMode method (wmcodecdsp.h)

The SetInterlaceMode method specifies whether the input video stream is interlaced.

Syntax

HRESULT SetInterlaceMode(
  [in] LONG lmode
);

Parameters

[in] lmode

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

Return value

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

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header wmcodecdsp.h

See also

IWMResizerProps Interface