| Microsoft DirectX 8.1 (Visual Basic) |
Copies the private data associated with the resource to a provided buffer.
object.GetPrivateData( _
RefGuid As DXGUID, _
Data As Any, _
SizeOfData As Long)
If the method fails, an error is raised and Err.Number can be set to one of the following values.
| D3DERR_INVALIDCALL |
| D3DERR_MOREDATA |
| D3DERR_NOTFOUND |
For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.
This method applies to the following classes, which implement methods from Direct3DResource8.
Direct3DResource8.FreePrivateData, Direct3DResource8.SetPrivateData