Gets the rotation of the swap chain.
public:
HRESULT GetRotation(
DXGI_MODE_ROTATION *pRotation
)
pRotation
Type: DXGI_MODE_ROTATION *
[out] The rotation, as a pointer to DXGI_MODE_ROTATION.
Type: HRESULT
Returns one of the following DXGI_ERROR.
Header: Declared in d3d11_x.h (dxgi1_2.h on other Windows platforms).
Library: Use d3d11_x.lib (dxgi.lib on other Windows platforms).