Skip to content

Latest commit

 

History

History
74 lines (60 loc) · 2.96 KB

nf-d3d12-id3d12object-setprivatedatainterface.md

File metadata and controls

74 lines (60 loc) · 2.96 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:d3d12.ID3D12Object.SetPrivateDataInterface
ID3D12Object::SetPrivateDataInterface (d3d12.h)
Associates an IUnknown-derived interface with the device object, and associates that interface with an application-defined GUID.
ID3D12Object interface
SetPrivateDataInterface method
ID3D12Object.SetPrivateDataInterface
ID3D12Object::SetPrivateDataInterface
SetPrivateDataInterface
SetPrivateDataInterface method
SetPrivateDataInterface method
ID3D12Object interface
d3d12/ID3D12Object::SetPrivateDataInterface
direct3d12.id3d12object_setprivatedatainterface
direct3d12\id3d12object_setprivatedatainterface.htm
direct3d12
B03B9420-7E85-4C1A-858C-37B20E4D9B52
12/05/2018
ID3D12Object interface,SetPrivateDataInterface method, ID3D12Object.SetPrivateDataInterface, ID3D12Object::SetPrivateDataInterface, SetPrivateDataInterface, SetPrivateDataInterface method, SetPrivateDataInterface method,ID3D12Object interface, d3d12/ID3D12Object::SetPrivateDataInterface, direct3d12.id3d12object_setprivatedatainterface
d3d12.h
Windows
D3D12.lib
D3D12.dll
Windows
19H1
ID3D12Object::SetPrivateDataInterface
d3d12/ID3D12Object::SetPrivateDataInterface
c++
APIRef
kbSyntax
COM
D3D12.dll
ID3D12Object.SetPrivateDataInterface

-description

Associates an IUnknown-derived interface with the device object, and associates that interface with an application-defined GUID.

-parameters

-param guid [in]

Type: REFGUID

The GUID to associate with the interface.

-param pData [in, optional]

Type: const IUnknown*

A pointer to the IUnknown-derived interface to be associated with the device object. Its reference count is incremented when set, and its reference count is decremented when either the ID3D12Object is destroyed, or when the data is overwritten by calling SetPrivateData or SetPrivateDataInterface with the same GUID.

-returns

Type: HRESULT

This method returns one of the Direct3D 12 return codes.

-see-also