Skip to content

Latest commit

 

History

History
70 lines (58 loc) · 2.28 KB

nf-d3d11-id3d11devicechild-getdevice.md

File metadata and controls

70 lines (58 loc) · 2.28 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type 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 req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:d3d11.ID3D11DeviceChild.GetDevice
ID3D11DeviceChild::GetDevice (d3d11.h)
Get a pointer to the device that created this interface. (ID3D11DeviceChild.GetDevice)
07aa3147-aab3-5e52-2809-7bddfdb31126
GetDevice
GetDevice method [Direct3D 11]
GetDevice method [Direct3D 11]
ID3D11DeviceChild interface
ID3D11DeviceChild interface [Direct3D 11]
GetDevice method
ID3D11DeviceChild.GetDevice
ID3D11DeviceChild::GetDevice
d3d11/ID3D11DeviceChild::GetDevice
direct3d11.id3d11devicechild_getdevice
direct3d11\id3d11devicechild_getdevice.htm
direct3d11
d18f43ef-4edc-47ff-b1be-1be670c2ccb2
12/05/2018
07aa3147-aab3-5e52-2809-7bddfdb31126, GetDevice, GetDevice method [Direct3D 11], GetDevice method [Direct3D 11],ID3D11DeviceChild interface, ID3D11DeviceChild interface [Direct3D 11],GetDevice method, ID3D11DeviceChild.GetDevice, ID3D11DeviceChild::GetDevice, d3d11/ID3D11DeviceChild::GetDevice, direct3d11.id3d11devicechild_getdevice
d3d11.h
Windows
D3D11.lib
Windows
19H1
ID3D11DeviceChild::GetDevice
d3d11/ID3D11DeviceChild::GetDevice
c++
APIRef
kbSyntax
COM
D3D11.lib
D3D11.dll
ID3D11DeviceChild.GetDevice

ID3D11DeviceChild::GetDevice

-description

Get a pointer to the device that created this interface.

-parameters

-param ppDevice [out]

Type: ID3D11Device**

Address of a pointer to a device (see ID3D11Device).

-remarks

Any returned interfaces will have their reference count incremented by one, so be sure to call ::release() on the returned pointer(s) before they are freed or else you will have a memory leak.

-see-also

ID3D11DeviceChild