Partager via


IAMVideoTransformComponent::GetScalingMode

4/8/2010

Retrieves the scaling mode used by the filter.

Syntax

HRESULT GetScalingMode(
     AM_TRANSFORM_SCALING_MODE *pScalingMode 
  );

Parameters

  • *pScalingMode
    [out] Retrieves the scaling mode that will be used by the filter.

Return Value

Returns an HRESULT value that depends on the implementation of the interface.

In the current DirectShow implementation, this method returns NOERROR if successful, or E_INVALIDARG or E_FAIL upon failure.