1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META http-equiv="Content-Style-Type" content="text/css"> 7<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 7.0.0.0 for Windows"> 8<title>DWCAllocEx</title> 9<LINK rel="stylesheet" href="../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13<a name="dwc__memfunc_8h_1b5f2b223b85ed60bd0d8e2e762b29eca"></a> 14<h1 align="left">DWCAllocEx</h1> 15<h2>Syntax</h2> 16 17<dl> 18 <dd> 19<CODE>#include <dwc.h></CODE><BR> 20 <BR> 21 <PRE><CODE>typedef void*(*) <a href=DWCAllocEx.html#dwc__memfunc_8h_1b5f2b223b85ed60bd0d8e2e762b29eca>DWCAllocEx</a>(DWCAllocType name, 22 u32 size, 23 int align);</CODE></PRE></dd> 24</dl> 25 26<h2>Arguments</h2> 27 28<TABLE border="1" width="100%"> 29 <TBODY> 30 31 <TR> 32<TD width="13%"><EM><STRONG><parametername>align</parametername></STRONG></EM></TD> 33<TD width="87%">Be sure to return a pointer to the byte-aligned buffer with the size in bytes specified by <CODE>size</CODE>.</TD> 34 </TR> 35 36 <TR> 37<TD width="13%"><EM><STRONG><parametername>name</parametername></STRONG></EM></TD> 38<TD width="87%">Ignore this variable. It contains information used during DWC library development.</TD> 39 </TR> 40 41 </TBODY> 42</TABLE> 43 44<h2>Return Values</h2> 45 46<p>None.</p> 47 48<H2>Description</H2> 49<p>This memory allocation function is used by the DWC library. Thread-exclusive processing must be used.</p> 50 51<H2>Revision History</H2> 52<DL> 53 54<DT><para>1.1.0</DT> 55<DD>Added the description of thread-exclusive processing.</DD> 56 57</DL> 58<hr><p>CONFIDENTIAL</p></body> 59</html> 60