Direct3DVolume8.GetPrivateData
Copies the private data associated with the volume to a provided buffer.
object.GetPrivateData( _
RefGuid As DXGUID, _
Data As Any, _
SizeOfData As Long)
Parts
- object
- Object expression that resolves to a Direct3DVolume8 object.
- RefGuid
- A DXGUID type, the globally unique identifier that identifies the private data to retrieve.
- Data
- A previously allocated buffer to fill with the requested private data if the call succeeds. The application calling this method is responsible for allocating and releasing this buffer.
- SizeOfData
- Size of the buffer at Data, in bytes. If this value is less than the actual size of the private data (such as 0), the method sets this parameter to the required buffer size, and the method returns D3DERR_MOREDATA.
Error Codes
If the method fails, an error is raised and Err.Number can be set to one of the following values.
For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.
See Also
Direct3DVolume8.FreePrivateData, Direct3DVolume8.SetPrivateData