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>NWC24DlType</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>NWC24DlType</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>typedef enum
17{
18    NWC24_DLTYPE_MULTIPART_V1   = 0,
19    NWC24_DLTYPE_OCTETSTREAM_V1 = 1,
20    NWC24_DLTYPE_MULTIPART_V2   = 2,
21    NWC24_DLTYPE_OCTETSTREAM_V2 = 3,
22    NWC24_DLTYPE_MAX,
23    NWC24_DLTYPE_MULTIPART      = NWC24_DLTYPE_MULTIPART_V2,
24    NWC24_DLTYPE_OCTETSTREAM    = NWC24_DLTYPE_OCTETSTREAM_V2
25} NWC24DlType;
26</CODE></PRE>
27</DL>
28
29<H2>Description</H2>
30<P>
31Used when specifying the type of download task.
32</P>
33<P>
34Developers need to be aware that the concept of versions exists for task types, and in some cases only versions of a certain level or later can be used. Unless you have a special reason, use the constants described below, which have no version specification. The newest version is always set.
35</P>
36<P>
37However, you need to be careful when a new application reuses a task registered by a past application. When using a new feature, you must first delete the task (using <A href="../Download/NWC24DeleteDlTask.html"><CODE>NWC24DeleteDlTask</CODE></A>) and then create it anew (using <A href="../Download/NWC24InitDlTask.html"><CODE>NWC24InitDlTask</CODE></A>). For example, tasks created using the NWC24 library of RevoEX 1.x have the version 1 (*_V1), so if you plan to use one of the new features of RevoEX 2.x (for example, encryption), you will need to delete and recreate the tasks. To learn which task types and versions each new feature supports, read the settings API for each feature.
38</P>
39<P>
40<TABLE border="1">
41  <TR class="reserved">
42<TD width="150"><CODE>NWC24_DLTYPE_MULTIPART</CODE></TD>
43<TD>Multipart (Do not use)</TD>
44  </TR>
45  <TR>
46<TD width="150"><CODE>NWC24_DLTYPE_OCTETSTREAM</CODE></TD>
47<TD>Binary stream</TD>
48  </TR>
49</TABLE>
50</P>
51
52<H2>See Also</H2>
53<P>
54</P>
55
56<H2>Revision History</H2>
57<P>
582007/10/01 Added explanation about task versions.<br />2006/12/05 Initial version.<BR>
59</P>
60
61<hr><p>CONFIDENTIAL</p></body>
62</HTML>