Share via


IAMVideoTransformComponent::GetBufferParams

4/8/2010

Retrieves the parameters used to configure the buffer.

Syntax

HRESULT GetBufferParams(
     AM_ROTATION_ANGLE *pSurfaceAngle
     int *pXPitch
     int *pYPitch
  );

Parameters

  • *pSurfaceAngle
    [out] Represents the rotation angle that the buffer had when it was allocated.
  • *pXPitch
    [out] Represents the horizontal pitch.
  • *pYPitch
    [out] Represents the vertical pitch.

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.