IDirect3DVolume9::FreePrivateData method (d3d9helper.h)

Frees the specified private data associated with this volume.

Syntax

HRESULT FreePrivateData(
  [in] REFGUID refguid
);

Parameters

[in] refguid

Type: REFGUID

Reference to the globally unique identifier that identifies the private data to free.

Return value

Type: HRESULT

If the method succeeds, the return value is D3D_OK. If the method fails, the return value can be one of the following: D3DERR_INVALIDCALL, D3DERR_NOTFOUND.

Remarks

Direct3D calls this method automatically when a volume is released.

Requirements

Requirement Value
Target Platform Windows
Header d3d9helper.h (include D3D9.h)
Library D3D9.lib

See also

IDirect3DVolume9

IDirect3DVolume9::GetPrivateData

IDirect3DVolume9::SetPrivateData