ID2D1Device2::GetDxgiDevice method

Returns the DXGI device associated with this Direct2D device.

Syntax


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

Parameters

dxgiDevice [out]

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

Header

D2d1_3.h

Library

D2d1_3.lib

DLL

D2d1_3.dll

See also

ID2D1Device2

 

 

Show: