IViewObjectPresentFlipSite2::GetRotationForCurrentOutput method

Obtains Internet Explorer's current output rotation.

Syntax

HRESULT GetRotationForCurrentOutput(
  [out] DXGI_MODE_ROTATION* pDxgiRotation
);

Parameters

  • pDxgiRotation [out]

Return value

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

Remarks

The rotation value can then be used to determine what to pass to SetRotation.

Requirements

Minimum supported client

Windows 10

Minimum supported server

Windows Server 2016

DLL

Mshtml.dll; Edgehtml.dll