1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" />
7<title>Initialize</title>
8  </head>
9  <body>
10<h1><CODE><a href="../../../nn/Overview.html">nn</a>::<a href="../../../nn/boss/Overview.html">boss</a>::<a href="../../../nn/boss/DataStoreUploadAction/Overview.html">DataStoreUploadAction</a>::Initialize</CODE> Member Function</h1>
11<h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14<a href="../../../nn/Result/Overview.html">nn::Result</a> Initialize(
15     <a href="../../../nn_types/u32.html">u32</a> gameId,
16     const wchar_t * pAccessKey,
17     <a href="../../../nn/boss/DstKind.html">DstKind</a> dstKind,
18     <a href="../../../nn_types/u16.html">u16</a> dataType,
19     <a href="../../../nn_types/u16.html">u16</a> period
20);
21
22<a href="../../../nn/Result/Overview.html">nn::Result</a> Initialize(
23     <a href="../../../nn_types/u32.html">u32</a> gameId,
24     const wchar_t * pAccessKey,
25     nn::Handle fileHandle,
26     <a href="../../../nn/boss/DstKind.html">DstKind</a> dstKind,
27     <a href="../../../nn_types/u16.html">u16</a> dataType,
28     <a href="../../../nn_types/u16.html">u16</a> period
29);
30</pre>
31    </div>
32<h2>List of Overloaded Member Functions</h2>
33    <div class="section">
34      <table class="members">
35        <tr>
36          <td>
37<a href="./Initialize(0).html"><CODE>Initialize ( u32, const wchar_t *, DstKind, u16, u16 )</CODE> </a>
38          </td>
39<td>Used to configure <CODE>DataStore</CODE> upload.</td>
40        </tr>
41        <tr>
42          <td>
43<a href="./Initialize(1).html"><CODE>Initialize ( u32, const wchar_t *, nn::Handle, DstKind, u16, u16 )</CODE> </a>
44          </td>
45<td>Use to configure the settings attached to the <CODE>DataStore</CODE> upload file handle.</td>
46        </tr> </table>
47    </div>
48<h2>Description of <CODE>Initialize ( u32, const wchar_t *, DstKind, u16, u16 )</CODE></h2>
49<div class="section"><p>When registering tasks, use the following functions. For normal execution: <CODE><a href="../../../nn/Result/Overview.html">nn::Result</a> RegisterTask(Task* pTask, TaskPolicy* pPolicy, TaskAction* pAction, const char* pFilePath, TaskOption* pOption=NULL, u8 taskStep=DEFAULT_STEP_ID)</CODE>. For immediate execution: <CODE><a href="../../../nn/Result/Overview.html">nn::Result</a> RegisterImmediateTask(Task* pTask, TaskAction* pAction, const char* pFilePath, TaskPolicy* pPolicy=NULL, TaskOption* pOption=NULL, u8 taskStep=DEFAULT_STEP_ID);</CODE>.</p><!-- write here --></div>
50<h2>Description of <CODE>Initialize ( u32, const wchar_t *, nn::Handle, DstKind, u16, u16 )</CODE></h2>
51<div class="section"><p>Special  version for configuring the file handle. Normally you should use <CODE>Initialize</CODE> in the following way. <CODE>Initialize(u32 gameId, const wchar_t* pAccessKey, DstKind dstKind, u16 dataType, u16 period)</CODE> <br /> Even if the <CODE><a href="../../../nn/boss/DataStoreUploadAction/Initialize.html">DataStoreUploadAction::Initialize</a></CODE> function has already been run on an object, this function can be re-run to allow the object to be reused.</p><!-- write here --></div>
52  <hr><p>CONFIDENTIAL</p></body>
53</html>