Share via


IAMVideoTransformComponent::GetRotationCaps (Compact 7)

3/12/2014

This method returns the rotation capabilities of the stream.

Syntax

HRESULT GetScalingMode (
    const AM_MEDIA_TYPE  *pmt,
    DWORD  *pdwRotationCapsMask
);

Parameters

  • pScalingMode
    [in] A pointer to an AM_MEDIA_TYPE enumeration value specifying the media type.
  • pdwRotationCapsMask
    [out] A pointer to the rotation capabilities. For more information, see the AM_TRANSFORM_ROTATION_CAPS enumeration.

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