GetDXGIInterface-IDirect3DSurface

Retrieves a DXGI interface from an IDirect3DSurface instance.

Syntax

HRESULT GetDXGIInterface(
  IDirect3DSurface ^ surface,
  DXGI_TYPE          **dxgi
);

Parameters

surface

dxgi

Type: DXGI_TYPE**

On return, contains the retrieved DXGI interface.

Return value

Type: HRESULT

If the function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Target Platform Windows
Header windows.graphics.directx.direct3d11.interop.h
Library D3D11.lib
DLL D3D11.dll