Partager via


IAMVideoTransform::SetDestinationRotation

4/8/2010

Specifies the angle of rotation that should be applied to the video.

Syntax

HRESULT SetDestinationRotation(
     AM_ROTATION_ANGLE rotation
  );

Parameters

  • rotation
    [in] Specifies the angle of the rotation.

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.