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>DWCGdbDownloadFileCallback</title> 9<LINK rel="stylesheet" href="../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13<a name="dwc__gdb_8h_1659e238c0c880dcd74d1bdd420dc377a"></a> 14<h1 align="left">DWCGdbDownloadFileCallback</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=DWCGdbDownloadFileCallback.html#dwc__gdb_8h_1659e238c0c880dcd74d1bdd420dc377a>DWCGdbDownloadFileCallback</a>(const void *data, 22 int size, 23 void *user_param);</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>data</parametername></STRONG></EM></TD> 33<TD width="87%">The obtained data.</TD> 34 </TR> 35 36 <TR> 37<TD width="13%"><EM><STRONG><parametername>size</parametername></STRONG></EM></TD> 38<TD width="87%">Size of the obtained data.</TD> 39 </TR> 40 41 <TR> 42<TD width="13%"><EM><STRONG><parametername>user_param</parametername></STRONG></EM></TD> 43<TD width="87%">Parameter given to the asynchronous process when it executed.</TD> 44 </TR> 45 46 </TBODY> 47</TABLE> 48 49<h2>Return Values</h2> 50 51<p>None.</p> 52 53<H2>Description</H2> 54<p>If <CODE>TRUE</CODE> has been set to the <CODE>clear_buf</CODE> argument of the <a href=DWC_GdbDownloadFileAsync.html#dwc__gdb_8h_1ec9c42c94fd2891995d1778d7f8af9af><CODE>DWC_GdbDownloadFileAsync</CODE></a> function, the region given to the <CODE>data</CODE> argument is released when the process leaves from the callback. If <CODE>FALSE</CODE> has been set to the <CODE>clear_buf</CODE> argument, this region will not be released, so use <a href=DWC_Free.html#dwc__memfunc_8h_17df5b185c0e3ea8fc73668bff37f2006><CODE>DWC_Free</CODE></a> to release the region at the appropriate time. </p> 55 56<H2>Revision History</H2> 57<DL> 58 59</DL> 60<hr><p>CONFIDENTIAL</p></body> 61</html> 62