GetRotation
Collapse the table of content
Expand the table of content

IMFCaptureRecordSink::GetRotation method

Gets the rotation that is currently being applied to the recorded video stream.

Syntax


HRESULT GetRotation(
  [in]  DWORD dwStreamIndex,
  [out] DWORD *pdwRotationValue
);

Parameters

dwStreamIndex [in]

The zero-based index of the stream. You must specify a video stream.

pdwRotationValue [out]

Receives the image rotation, in degrees.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Mfcaptureengine.h

See also

IMFCaptureRecordSink

 

 

Show:
© 2016 Microsoft