Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ID3D10DeviceChild::GetPrivateData method

Get application-defined data from a device child.

Syntax


HRESULT GetPrivateData(
  [in]      REFGUID guid,
  [in, out] UINT    *pDataSize,
  [out]     void    *pData
);

Parameters

guid [in]

Type: REFGUID

Guid associated with the data.

pDataSize [in, out]

Type: UINT*

Size of the data.

pData [out]

Type: void*

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

Return value

Type: HRESULT

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

Remarks

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

Requirements

Header

D3D10.h

Library

D3D10.lib

See also

ID3D10DeviceChild Interface

 

 

Show:
© 2017 Microsoft