Skip to content

Latest commit

 

History

History
90 lines (68 loc) · 2.81 KB

nf-d3d10-id3d10device-getprivatedata.md

File metadata and controls

90 lines (68 loc) · 2.81 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:d3d10.ID3D10Device.GetPrivateData
ID3D10Device::GetPrivateData (d3d10.h)
Get data from a device that is associated with a guid.
21f7168b-1fad-e566-5ab6-9dcae79a06ca
GetPrivateData
GetPrivateData method [Direct3D 10]
GetPrivateData method [Direct3D 10]
ID3D10Device interface
ID3D10Device interface [Direct3D 10]
GetPrivateData method
ID3D10Device.GetPrivateData
ID3D10Device::GetPrivateData
d3d10/ID3D10Device::GetPrivateData
direct3d10.id3d10device_getprivatedata
direct3d10\id3d10device_getprivatedata.htm
direct3d10
VS|directx_sdk|~\id3d10device_getprivatedata.htm
12/05/2018
21f7168b-1fad-e566-5ab6-9dcae79a06ca, GetPrivateData, GetPrivateData method [Direct3D 10], GetPrivateData method [Direct3D 10],ID3D10Device interface, ID3D10Device interface [Direct3D 10],GetPrivateData method, ID3D10Device.GetPrivateData, ID3D10Device::GetPrivateData, d3d10/ID3D10Device::GetPrivateData, direct3d10.id3d10device_getprivatedata
d3d10.h
Windows
D3D10.lib
Windows
19H1
ID3D10Device::GetPrivateData
d3d10/ID3D10Device::GetPrivateData
c++
APIRef
kbSyntax
COM
D3D10.lib
D3D10.dll
ID3D10Device.GetPrivateData

ID3D10Device::GetPrivateData

-description

Get data from a device that is associated with a guid.

-parameters

-param guid [in]

Type: REFGUID

Guid associated with the data.

-param pDataSize [in, out]

Type: UINT*

Size of the data.

-param pData [out]

Type: void*

Pointer to the data stored with the device. If pData is NULL, DataSize must also be 0, and any data previously associated with the guid will be destroyed.

-returns

Type: HRESULT

This method returns one of the following Direct3D 10 Return Codes.

-remarks

The data stored in the device is set with ID3D10Device::SetPrivateData.

The data retrieved and the guid will typically be application-defined.

-see-also

ID3D10Device Interface