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>NWC24SetDlUrl</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>NWC24SetDlUrl</H1> 12 13<H2>C Specification</H2> 14<DL> 15<DD><PRE><CODE>#include <revolution/nwc24.h></CODE></PRE> 16<DD><PRE><CODE><A HREF="../Types/NWC24Err.html">NWC24Err</A> NWC24SetDlUrl( <A HREF="../Types/NWC24DlTask.html">NWC24DlTask</A>* <VAR>taskPublic</VAR>, const char* <VAR>url</VAR> );</CODE></PRE> 17</DL> 18 19<H2>Description</H2> 20<P> 21Sets the URL for a download task. The supported protocols are http and https.<BR> 22</P> 23<P> 24If using http, you must enable the signature verification feature, and if using https, it must be signed by Nintendo's CA. When a download is actually under way, a string may be added to the URL depending on other parameters. 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>taskPublic</VAR></code></TD> 31 <TD class="description"> 32Pointer to the download task. 33 </TD> 34 </TR> 35 <TR> 36<TD class="name"><code><VAR>url</VAR></code></TD> 37 <TD class="description"> 38The URL to specify. 39 </TD> 40 </TR> 41</TABLE> 42 43<h2>Return Values</h2> 44<P> 45<code>NWC24_OK</code>: Normal termination.<BR> <code>NWC24_ERR_LIB_NOT_OPENED</code>: The library has not been opened.<BR> <code>NWC24_ERR_PROTECTED</code>: The download task cannot be written.<BR> <code>NWC24_ERR_NULL</code>: <code><VAR>url</VAR></code> is either NULL or a blank string. <BR> <code>NWC24_ERR_FULL</code>: The length of the <code><VAR>url</VAR></code> string has exceeded the limit.<BR> <code>NWC24_ERR_INVALID_VALUE</code>: <code><VAR>taskPublic</VAR></code>'s value is either NULL or the download task is invalid.<BR> <code>NWC24_ERR_FORMAT</code>: The <code><VAR>url</VAR></code> does not start with either "http://" or "https://".<BR> 46</P> 47 48<H2>See Also</H2> 49<P> 50<A href="NWC24GetDlUrl.html"><CODE>NWC24GetDlUrl</CODE></A> 51</P> 52 53<H2>Revision History</H2> 54<P> 552006/12/05 Initial version. 56</P> 57 58<hr><p>CONFIDENTIAL</p></body> 59</HTML>