?/TD>
Microsoft DirectX 9.0

IDirect3DBaseTexture9::FreePrivateData Method


Frees the specified private data associated with this resource.

Syntax

HRESULT FreePrivateData(      

    REFGUID refguid );

Parameters

refguid
[in] Reference to (C++) or address of (C) the globally unique identifier that identifies the private data to free.

Return Value

If the method succeeds, the return value is D3D_OK.

If the method fails, the return value can be one of the following values.

D3DERR_INVALIDCALLThe method call is invalid. For example, a method's parameter may have an invalid value.
D3DERR_NOTFOUNDThe requested item was not found.


Remarks

Microsoft?Direct3D?calls this method automatically when a resource is released.

See Also

IDirect3DResource9::GetPrivateData, IDirect3DBaseTexture9::GetPrivateData, IDirect3DCubeTexture9::GetPrivateData, IDirect3DTexture9::GetPrivateData, IDirect3DVolumeTexture9::GetPrivateData, IDirect3DIndexBuffer9::GetPrivateData, IDirect3DVertexBuffer9::GetPrivateData, IDirect3DResource9::SetPrivateData, IDirect3DBaseTexture9::SetPrivateData, IDirect3DCubeTexture9::SetPrivateData, IDirect3DTexture9::SetPrivateData, IDirect3DVolumeTexture9::SetPrivateData, IDirect3DIndexBuffer9::SetPrivateData, IDirect3DVertexBuffer9::SetPrivateData


© 2002 Microsoft Corporation. All rights reserved.