共用方式為


IAMWstDecoder::GetOutputFormat

 
Microsoft DirectShow 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.

Requirements

Header: Include Iwstdec.h.

Library: Use Strmiids.lib.

See Also