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>StopRecordingPackets</title>
8  </head>
9  <body>
10<h1><CODE><a href="../../../../nn/Overview.html">nn</a>::<a href="../../../../nn/gd/Overview.html">gd</a>::<a href="../../../../nn/gd/CTR/Overview.html">CTR</a>::<a href="../../../../nn/gd/CTR/System/Overview.html">System</a>::StopRecordingPackets</CODE> Member Function</h1>
11<h2>Syntax</h2>
12    <div class="section">
13      <pre class="definition">
14static <a href="../../../../nnResult/Overview.html">nnResult</a> StopRecordingPackets(
15     RecordedPacketId ** packetId
16);
17</pre>
18    </div>
19<h2>Arguments</h2>
20    <div class="section">
21      <table class="arguments">
22        <thead>
23          <tr>
24            <td width="15" />
25<th>Name</th>
26<td>Description</td>
27          </tr>
28        </thead>
29        <tr>
30<td>in</td>
31<th>packetId</th>
32<td>Sets the address storing the save start ID pointer of the obtained command list object.</td>
33        </tr> </table>
34    </div>
35<h2>Return Values</h2>
36<div class="section">Returns the result of the operation. <br />
37      <table class="arguments">
38        <thead>
39          <tr>
40<th>Value</th>
41<td>Description</td>
42          </tr>
43        </thead>
44        <tr>
45<th><CODE>Result::IsSuccess</CODE></th>
46<td>Process was successful.</td>
47        </tr>
48        <tr>
49<th><CODE>ResultNullParameter</CODE></th>
50<td><CODE>NULL</CODE> was specified in <CODE>packetId</CODE>.</td>
51        </tr>
52        <tr>
53<th><CODE>ResultSystemNoPacketRecorded</CODE></th>
54<td>Saving of command list objects has not started. Start saving them by calling the <CODE>SystemStartRecordingPackets</CODE> function.</td>
55        </tr>
56        <tr>
57<th><CODE>ResultSystemInvalidCmdListBind</CODE></th>
58<td>The command list to start saving differs from the current command list.</td>
59        </tr>
60        <tr>
61<th><CODE>ResultSystemReceiveErrorFromGlGetError</CODE></th>
62<td>The <a href="../../../../nn_gx/nngxStopCmdlistSave.html"><CODE>nngxStopCmdlistSave</CODE></a> function or the <CODE>nngxExportCmdlist</CODE> function could not be executed correctly.</td>
63        </tr>
64        <tr>
65<th><CODE>ResultSystemNoPacketToRecord</CODE></th>
66<td>There was no saved data.</td>
67        </tr>
68        <tr>
69<th><CODE>ResultOutOfMemory</CODE></th>
70<td>Could not allocate memory.</td>
71        </tr>
72        <tr>
73<th><CODE>ResultSystemRequestListInsertionIncompatibleWithJump</CODE></th>
74<td>(Only when <CODE>RECORD_3D_COMMAND_BUFFER_FOR_JUMP</CODE> is specified) Jump cannot be utilized because command requests other than 3D execution commands are included.</td>
75        </tr>
76        <tr>
77<th><CODE>ResultInvalidParameter</CODE></th>
78<td>The parameter is invalid.</td>
79        </tr>
80      </table> </div>
81<h2>Description</h2>
82    <div class="section">
83<p>Stops saving the current command list object.</p><p>Command packets for function calls between the <a href="../../../../nn/gd/CTR/System/StartRecordingPackets.html"><CODE>System::StartRecordingPackets</CODE></a> and <a href="../../../../nn/gd/CTR/System/StopRecordingPackets.html"><CODE>System::StopRecordingPackets</CODE></a> functions are stored so that they can be reused later. When <CODE>RECORD_COMMAND_LIST_COPY</CODE> or <CODE>RECORD_3D_COMMAND_BUFFER_FOR_JUMP</CODE> is specified as the <CODE>RecordingPacketUsage</CODE> parameter to the <a href="../../../../nn/gd/CTR/System/StartRecordingPackets.html"><CODE>System::StartRecordingPackets</CODE></a> function, command packets are stored in a user buffer. These command packets can be edited and executed when necessary. If <CODE>RECORD_COMMAND_LIST_NO_COPY</CODE> is specified as the <CODE>RecordingPacketUsage</CODE> parameter, the command packets saved in the GD function's internal command buffer can be reused directly, without being copied. In this case, these command packets cannot be edited before they are executed nor can they be reused after the command buffer is cleared.</p><!-- write here --></div>
84<h2>Revision History</h2>
85    <div class="section">
86      <dl class="history">
87        <dt>2011/02/17</dt>
88<dd>Initial version.<br />
89        </dd>
90      </dl>
91    </div>
92  <hr><p>CONFIDENTIAL</p></body>
93</html>