Microsoft DirectX 8.1 (Visual Basic)

Direct3DSurface8.FreePrivateData

Frees the specified private data associated with this surface.

object.FreePrivateData( _ 
    RefGuid As DXGUID)

Parts

object
Object expression that resolves to a Direct3DSurface8 object.
RefGuid
A DXGUID type, the globally unique identifier that identifies the private data to free.

Error Codes

If the method fails, an error is raised and Err.Number can be set to one of the following values.

D3DERR_INVALIDCALL
D3DERR_NOTFOUND

For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.

See Also

Direct3DSurface8.GetPrivateData, Direct3DSurface8.SetPrivateData