ISurfacePresenterFlip2::SetRotation method

Sets the current DXGI rotation mode of the swap chain.

Syntax


HRESULT SetRotation(
  [in] DXGI_MODE_ROTATION dxgiRotation
);

Parameters

dxgiRotation [in]

Return value

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

Requirements

Minimum supported client

Windows 10

Minimum supported server

Windows Server 2016

DLL

Mshtml.dll;
Edgehtml.dll

 

 

Show: