Microsoft DirectX 9.0

IAMWstDecoder::SetOutputFormat

Downstream filters use the SetOutputFormat method to define an output video format.

Syntax

HRESULT SetOutputFormat(
  LPBITMAPINFO  lpbmi
);

Parameters

lpbmi

[in]  Specifies a LPBITMAPINFO containing the output video format, such as size, bit depth, and other properties.

Return Values

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

Return code Description
S_FALSE So far, downstream filters have defined no output format.
S_OK Downstream filters have already defined an output format.

See Also