IVPBaseConfig::SetVideoFormat

 
Microsoft DirectShow 9.0

IVPBaseConfig::SetVideoFormat

The SetVideoFormat method sets the video format.

Syntax

  HRESULT SetVideoFormat(
  DWORD dwChosenEntry
);

Parameters

dwChosenEntry

[in] Value specifying the index (zero-based) of the video pixel format to use.

Return Values

Returns an HRESULT value.

Remarks

Retrieve the video formats by using IVPBaseConfig::GetVideoFormats.

Requirements

Header: Include Dvp.h, Vptype.h, Vpconfig.h.

Library: None.

See Also