ID2D1Device2::GetDxgiDevice method

Returns the DXGI device associated with this Direct2D device.

Syntax

HRESULT GetDxgiDevice(
  IDXGIDevice **dxgiDevice
);

Parameters

dxgiDevice

Type: IDXGIDevice**

The DXGI device associated with this Direct2D device.

Return Value

Type: HRESULT

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

Requirements

   
Target Platform Windows
Header d2d1_3.h
Library D2d1_3.lib
DLL D2d1_3.dll

See Also

ID2D1Device2