ID3D10Device::GetPrivateData method
Get data from a device that is associated with a guid.
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. 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 is set with ID3D10Device::SetPrivateData.
The data retrieved and the guid will typically be application-defined.
Requirements
|
Header |
|
|---|---|
|
Library |
|
See also