Microsoft DirectX 9.0

IAMWstDecoder::GetOutputFormat

Downstream filters use the GetOutputFormat method to retrieve the size, bit depth, and other parameters of the output video.

Syntax

HRESULT GetOutputFormat(
  LPBITMAPINFOHEADER  lpbmih
);

Parameters

lpbmih

[out]  Specifies a LPBITMAPINFOHEADER structure to receive the size, bit depth, and other properties of the output video.

Return Values

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

See Also