Share via


IAMVideoTransformComponent::GetBufferParams (Compact 2013)

3/26/2014

This method returns the parameters of the buffer.

Syntax

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

Parameters

  • pSurfaceAngle
    [out] A pointer to an AM_ROTATION_ANGLE enumeration member specifying the rotation angle at which the surface was allocated.
  • pXPitch
    [out] A pointer to the horizontal pitch.
  • pYPitch
    [out] A pointer to the horizontal pitch.

Return Value

Returns an HRESULT value that depends on the implementation of the interface. Current DirectShow implementation return values include the following.

Value

Description

E_FAIL

Failure to return the capabilities.

S_OK

The capabilities were returned.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

IAMVideoTransformComponent