Share via


IAMVideoTransformComponent::SetBufferParams (Compact 2013)

3/26/2014

This method sets the parameters of the buffer.

Syntax

HRESULT SetBufferParams (
    AM_ROTATION_ANGLE  SurfaceAngle,
    int  XPitch,
    int  YPitch,
    const  AM_MEDIA_TYPE  *pmt
);

Parameters

  • SurfaceAngle
    [in] A member of the AM_ROTATION_ANGLE enumeration specifying the rotation angle at which the surface was allocated.
  • XPitch
    [in] The horizontal pitch.
  • YPitch
    [in] 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