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>NWC24SetDlRetryMargin</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>NWC24SetDlRetryMargin</H1>
12
13<H2>C Specification</H2>
14<DL>
15  <DD><PRE><CODE>
16#define NWC24_DL_RETRYMARGIN_MIN                (30)
17#define NWC24_DL_RETRYMARGIN_MAX                (60*24*14)
18#define NWC24_DL_RETRYMARGIN_DEFAULT            (60*24)
19
20#include &lt;revolution/nwc24.h&gt;</CODE></PRE>
21<DD><PRE><CODE><A HREF="../Types/NWC24Err.html">NWC24Err</A> NWC24SetDlRetryMargin( <A HREF="../Types/NWC24DlTask.html">NWC24DlTask</A>* <VAR>taskPublic</VAR>, u16 <VAR>min</VAR> );</CODE></PRE>
22</DL>
23
24<H2>Description</H2>
25<P>
26Sets by how long the expected download time may be exceeded.
27</P>
28
29<H2>Arguments</H2>
30<TABLE border="1" cellpadding="3" cellspacing="0.1" class="argument">
31  <TR>
32<TD class="name"><code><VAR>taskPublic</VAR></code></TD>
33    <TD class="description">
34Pointer to the download task.
35    </TD>
36  </TR>
37  <TR>
38<TD class="name"><code><VAR>min</VAR></code></TD>
39    <TD class="description">
40Allowed overrun time (in minutes).
41    </TD>
42  </TR>
43</TABLE>
44
45<h2>Return Values</h2>
46<P>
47<code>NWC24_OK</code>: Ended normally.<BR> <code>NWC24_ERR_LIB_NOT_OPENED</code>: The library has not been opened.<BR> <code>NWC24_ERR_PROTECTED</code>: The download task is write protected.<BR> <code>NWC24_ERR_INVALID_VALUE</code>: The value of <code><VAR>taskPublic</VAR></code> is NULL, the download task is invalid, or the value of <code><VAR>min</VAR></code> exceeds the range that can be set.<BR>
48</P>
49
50<H2>See Also</H2>
51<P>
52<A href="NWC24GetDlRetryMargin.html"><CODE>NWC24GetDlRetryMargin</CODE></A>
53</P>
54
55<H2>Revision History</H2>
56<P>
572006/12/05 Initial version.
58</P>
59
60<hr><p>CONFIDENTIAL</p></body>
61</HTML>