Share via


IDirect3DResource8::FreePrivateData

This method frees the specified private data associated with this resource.

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 Values

If the method succeeds, the return value is D3D_OK.

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

Remarks

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

This method applies to the following interfaces, which inherit from IDirect3DResource8.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: D3d8.h.
Link Library: D3d8.lib.

See Also

IDirect3DBaseTexture8 | IDirect3DIndexBuffer8 | IDirect3DResource8 | IDirect3DTexture8 | IDirect3DVertexBuffer8 | IDirect3DResource8::GetPrivateData | IDirect3DResource8::SetPrivateData | IDirect3DResource8

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.