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>DWC_NdGetFileListAsync</title> 9<LINK rel="stylesheet" href="../css/nitro.css" type="text/css"> 10</head> 11 12<body> 13<a name="dwc__nd_8h_10ed762cf6ee79a732867a356f18d4733"></a> 14<h1 align="left">DWC_NdGetFileListAsync</h1> 15<h2>Syntax</h2> 16 17<dl> 18 <dd> 19<CODE>#include <dwc.h></CODE><BR> 20 <BR> 21 <PRE><CODE>BOOL <a href=DWC_NdGetFileListAsync.html#dwc__nd_8h_10ed762cf6ee79a732867a356f18d4733>DWC_NdGetFileListAsync</a>(<a href=DWCNdFileInfo.html#>DWCNdFileInfo</a> *filelist, 22 unsigned int offset, 23 unsigned int num);</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>filelist</STRONG></EM></TD> 33<TD width="87%">Pointer to the array that stores the list of information retrieved as a result of communication.</TD> 34 </TR> 35 36 <TR> 37<TD width="13%"><EM><STRONG>offset</STRONG></EM></TD> 38<TD width="87%">Index of the first element in the retrieved information list.</TD> 39 </TR> 40 41 <TR> 42<TD width="13%"><EM><STRONG>num</STRONG></EM></TD> 43<TD width="87%">Maximum number of items in the retrieved information list.</TD> 44 </TR> 45 46 </TBODY> 47</TABLE> 48 49<h2>Return Values</h2> 50 51<TABLE border="1" width="100%"> 52 <TBODY> 53 54 <TR> 55<TD width="13%"><EM><STRONG>TRUE</STRONG></EM></TD> 56<TD width="87%">Successful.</TD> 57 </TR> 58 59 <TR> 60<TD width="13%"><EM><STRONG>FALSE</STRONG></EM></TD> 61<TD width="87%">Failed. Use the <a href=DWC_GetLastErrorEx.html#dwc__error_8h_118bd79f5d5151259c19c4e552e5e633b><code>DWC_GetLastErrorEx</code></a> function to obtain error information.</TD> 62 </TR> 63 64 </TBODY> 65</TABLE> 66 67<H2>Description</H2> 68<p>Starts getting the list of files that can currently be downloaded.</p><p>The process fails if communication with the Download server is already in progress.<br> The downloaded file information is stored in an array of <a href=DWCNdFileInfo.html><CODE>DWCNdFileInfo</CODE></a> structures specified by <CODE>filelist</CODE>.<br>The determination as to which files are downloadable in the Download server is based on the attribute string configured by the <a href=DWC_NdSetAttr.html><CODE>DWC_NdSetAttr</CODE></a> function.</p> 69 70<h2>See Also</h2> 71<p> 72 73<CODE><A href="DWC_NdInitAsync.html">DWC_NdInitAsync<BR></A></CODE> 74 75<CODE><A href="DWC_NdSetAttr.html">DWC_NdSetAttr<BR></A></CODE> 76 77<CODE><A href="DWC_GetLastErrorEx.html">DWC_GetLastErrorEx<BR></A></CODE> 78 79<CODE><A href="DWC_NdProcess.html">DWC_NdProcess<BR></A></CODE> 80 81</p> 82 83<H2>Revision History</H2> 84<DL> 85 86<DT><para>1.4.7</DT> 87<DD>Added a description of usage.</DD> 88 89</DL> 90<hr><p>CONFIDENTIAL</p></body> 91</html> 92