---
UID: NN:dxgi.IDXGIDeviceSubObject
title: IDXGIDeviceSubObject (dxgi.h)
description: Inherited from objects that are tied to the device so that they can retrieve a pointer to it.
old-location: direct3ddxgi\idxgidevicesubobject.htm
tech.root: direct3ddxgi
ms.assetid: VS|directx_sdk|~\idxgidevicesubobject.htm
ms.date: 12/05/2018
ms.keywords: IDXGIDeviceSubObject, IDXGIDeviceSubObject interface [DXGI], IDXGIDeviceSubObject interface [DXGI],described, cafb6d61-7a76-585b-438f-57d6aaa898c1, direct3ddxgi.idxgidevicesubobject, dxgi/IDXGIDeviceSubObject
f1_keywords:
- dxgi/IDXGIDeviceSubObject
dev_langs:
- c++
req.header: dxgi.h
req.include-header: 
req.target-type: Windows
req.target-min-winverclnt: 
req.target-min-winversvr: 
req.kmdf-ver: 
req.umdf-ver: 
req.ddi-compliance: 
req.unicode-ansi: 
req.idl: 
req.max-support: 
req.namespace: 
req.assembly: 
req.type-library: 
req.lib: DXGI.lib
req.dll: 
req.irql: 
topic_type:
- APIRef
- kbSyntax
api_type:
- COM
api_location:
- DXGI.lib
- DXGI.dll
api_name:
- IDXGIDeviceSubObject
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# IDXGIDeviceSubObject interface


## -description


Inherited from objects that are tied to the device so that they can retrieve a pointer to it.


## -inheritance

The <b xmlns:loc="http://microsoft.com/wdcml/l10n">IDXGIDeviceSubObject</b> interface inherits from <a href="https://docs.microsoft.com/windows/desktop/api/dxgi/nn-dxgi-idxgiobject">IDXGIObject</a>. <b>IDXGIDeviceSubObject</b> also has these types of members:
<ul>
<li><a href="https://docs.microsoft.com/">Methods</a></li>
</ul>

## -members

The <b>IDXGIDeviceSubObject</b> interface has these methods.
<table class="members" id="memberListMethods">
<tr>
<th align="left" width="37%">Method</th>
<th align="left" width="63%">Description</th>
</tr>
<tr data="declared;">
<td align="left" width="37%">
<a href="https://docs.microsoft.com/windows/desktop/api/dxgi/nf-dxgi-idxgidevicesubobject-getdevice">GetDevice</a>
</td>
<td align="left" width="63%">
Retrieves the device.

</td>
</tr>
</table> 


## -remarks



<b>Windows Phone 8:
        </b> This API is supported.
      




## -see-also




<a href="https://docs.microsoft.com/windows/desktop/direct3ddxgi/d3d10-graphics-reference-dxgi-interfaces">DXGI Interfaces</a>



<a href="https://docs.microsoft.com/windows/desktop/api/dxgi/nn-dxgi-idxgiobject">IDXGIObject</a>
 

 

