Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

interop::GetDXGIInterface function (windows.graphics.directx.direct3d11.interop.h)

Retrieves a DXGI interface from an IDirect3DDevice instance.

Syntax

HRESULT GetDXGIInterface(
 IDirect3DDevice ^ device,
 DXGI_TYPE **dxgi
);

Parameters

device

Type: IDirect3DDevice^

The IDirect3DDevice instance to retrieve the DXGI interface from.

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

Feedback

Was this page helpful?

Additional resources