An IDXGIDevice1 interface implements a derived class for Microsoft DirectX Graphics Infrastructure (DXGI) objects that produce image data.
interface IDXGIDevice1 : public IDXGIDevice
This interface is not supported by DXGI 1.0, which shipped in Windows Vista and Windows Server 2008. DXGI 1.1 support is required, which is available on Windows 7, Windows Server 2008 R2, and as an update to Windows Vista with Service Pack 2 (SP2) (KB 971644) and Windows Server 2008 (KB 971512).
The IDXGIDevice1 interface is designed for use by Microsoft DirectX Graphics Infrastructure (DXGI) objects that need access to other Microsoft DirectX Graphics Infrastructure (DXGI) objects. This interface is useful to applications that do not use Microsoft Direct3D to communicate with Microsoft DirectX Graphics Infrastructure (DXGI).
The Microsoft Direct3D create device functions return a Microsoft Direct3D device object. This Microsoft Direct3D device object implements the IUnknown interface. You can query this Microsoft Direct3D device object for the device’s corresponding IDXGIDevice1 interface. To retrieve the IDXGIDevice1 interface of a Microsoft Direct3D device, use the following code:
IDXGIDevice1 * pDXGIDevice;
hr = g_pd3dDevice->QueryInterface(__uuidof(IDXGIDevice1), (void **)&pDXGIDevice);
Header: Declared in d3d11_x.h (dxgi.h on other Windows platforms).
Library: Use d3d11_x.lib (dxgi.lib on other Windows platforms).