1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<HTML>
3<HEAD>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<META http-equiv="Content-Style-Type" content="text/css">
6<TITLE>NWC24GetNumDlTasks</TITLE>
7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css">
8<LINK rel="stylesheet" type="text/css" href="../nwc24.css">
9</HEAD>
10<BODY>
11<H1>NWC24GetNumDlTasks</H1>
12
13<H2>C Specification</H2>
14<DL>
15<DD><PRE><CODE>#include &lt;revolution/nwc24.h&gt;</CODE></PRE>
16<DD><PRE><CODE><A HREF="../Types/NWC24Err.html">NWC24Err</A> NWC24GetNumDlTasks( u32* <VAR>numTasks</VAR> );</CODE></PRE>
17</DL>
18
19<H2>Description</H2>
20<P>
21Gets the maximum number of download tasks that can be registered, including those already reserved to the system application. The number of tasks that a standard application can register will be smaller than the maximum number gotten.
22</P>
23<P>
24Developers do not need to be particularly conscious of this number, although the maximum number will change depending on the version of Wii Menu.
25</P>
26
27<H2>Arguments</H2>
28<TABLE border="1" cellpadding="3" cellspacing="0.1" class="argument">
29  <TR>
30<TD class="name"><code><VAR>numTasks</VAR></code></TD>
31    <TD class="description">
32Storage location for the maximum number of download tasks that can be registered.
33    </TD>
34  </TR>
35</TABLE>
36
37<h2>Return Values</h2>
38<P>
39<code>NWC24_OK</code>: Obtained normally (a value is returned in *<code><VAR>numTasks</VAR></code>).<BR> <code>NWC24_ERR_LIB_NOT_OPENED</code>: The library has not been opened.<BR> <code>NWC24_ERR_INVALID_VALUE</code>: the value of <code><VAR>numTasks</VAR></code> is NULL.<BR>
40</P>
41
42<H2>See Also</H2>
43<P>
44<A href="NWC24GetNumRegDlTasks.html"><CODE>NWC24GetNumRegDlTasks</CODE></A>
45</P>
46
47<H2>Revision History</H2>
48<P>
492007/11/07 Noted that the maximum gotten will include those reserved by the system and will vary by the version of Wii Menu.
50<BR> 2007/07/25 Initial version.<BR></P>
51
52<hr><p>CONFIDENTIAL</p></body>
53</HTML>