1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" /> 7 <title>DisposeCallback</title> 8 </head> 9 <body> 10 <h1>nw::snd::SoundHeap::DisposeCallback Type</h1> 11 <h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition">#include <nw/snd/snd_SoundHeap.h> 14 15typedef void(* nw::snd::SoundHeap::DisposeCallback)(void *mem, unsigned long size, void *userArg);</pre> 16 </div> 17 <h2>Description</h2> 18 <div class="section"> 19 <p>Called when a memory block has been destroyed.</p><p>The callback function is passed to the memory block as an argument of <span><span>SoundHeap::Alloc</span></span> and invoked when that memory block is freed by either <span><span>SoundHeap::Clear</span></span> or <span><span>SoundHeap::LoadState</span></span>.</p></div> 20 <h2>See Also</h2> 21 <div class="section"> 22 <p class="reference"><a href="../../../nw/snd/SoundHeap/Alloc.html">Alloc</a><br /><a href="../../../nw/snd/SoundHeap/Clear.html">Clear</a><br /><a href="../../../nw/snd/SoundHeap/LoadState.html">LoadState</a><br /> </p> 23 </div> 24 <h2>Revision History</h2> 25 <div class="section"> 26 <dl class="history"> 27 <dt>2010/01/15</dt> 28 <dd>Added Alloc, Clear and LoadState to See Also.<br /> 29 </dd> 30 <dt>2010/01/14</dt> 31 <dd>Initial version.<br /> 32 </dd> 33 </dl> 34 </div> 35 <hr><p>CONFIDENTIAL</p></body> 36</html>