共用方式為


IVMRFilterConfig::GetRenderingMode

 
Microsoft DirectShow 9.0

IVMRFilterConfig::GetRenderingMode

The GetRenderingMode method retrieves the rendering mode currently being used by the VMR.

Syntax

  HRESULT GetRenderingMode(

  
  DWORD*
  
  pMode

  );

Parameters

pMode

[out]  Pointer to a DWORD that receives a VMRMode value indicating the current rendering mode.

Return Values

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Error Code Description
E_POINTER pMode is invalid

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also