ID2D1Device2::GetDxgiDevice method (d2d1_3.h)

Returns the DXGI device associated with this Direct2D device.

Syntax

HRESULT GetDxgiDevice(
  [out] IDXGIDevice **dxgiDevice
);

Parameters

[out] 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

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

See also

ID2D1Device2