libnx/pdm_8h_source.html
2025-05-08 06:59:12 +00:00

586 lines
142 KiB
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libnx: include/switch/services/pdm.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr id="projectrow">
<td id="projectalign">
<div id="projectname">libnx<span id="projectnumber">&#160;v4.9.0</span>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function() { init_codefold(0); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_42bea3d40f1f1694e41a8f3166c98108.html">switch</a></li><li class="navelem"><a class="el" href="dir_04a7e0b94d44ce4fc7ca3462163fd33c.html">services</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle"><div class="title">pdm.h</div></div>
</div><!--header-->
<div class="contents">
<a href="pdm_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span><span class="comment">/**</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno"> 2</span><span class="comment"> * @file pdm.h</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno"> 3</span><span class="comment"> * @brief PDM (pdm:*) service IPC wrapper.</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno"> 4</span><span class="comment"> * @author yellows8</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"> 5</span><span class="comment"> * @copyright libnx Authors</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno"> 6</span><span class="comment"> */</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno"> 7</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"> 8</span><span class="preprocessor">#include &quot;../types.h&quot;</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno"> 9</span><span class="preprocessor">#include &quot;../sf/service.h&quot;</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"> 10</span><span class="preprocessor">#include &quot;../services/acc.h&quot;</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"> 11</span><span class="preprocessor">#include &quot;../kernel/event.h&quot;</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="comment"></span> </div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="comment">/// PlayEventType</span></div>
<div class="foldopen" id="foldopen00014" data-start="{" data-end="};">
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"><a class="line" href="pdm_8h.html#a28b8288e0206f81c715c5deb4b623e6f"> 14</a></span><span class="comment"></span><span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"><a class="line" href="pdm_8h.html#a28b8288e0206f81c715c5deb4b623e6faa6e89b59f9ef045d506d434e842e559d"> 15</a></span> <a class="code hl_enumvalue" href="pdm_8h.html#a28b8288e0206f81c715c5deb4b623e6faa6e89b59f9ef045d506d434e842e559d">PdmPlayEventType_Applet</a> = 0, <span class="comment">///&lt; Applet</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"><a class="line" href="pdm_8h.html#a28b8288e0206f81c715c5deb4b623e6fa29454ed984f5230d7a4bdae0f8cda196"> 16</a></span> <a class="code hl_enumvalue" href="pdm_8h.html#a28b8288e0206f81c715c5deb4b623e6fa29454ed984f5230d7a4bdae0f8cda196">PdmPlayEventType_Account</a> = 1, <span class="comment">///&lt; Account</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"><a class="line" href="pdm_8h.html#a28b8288e0206f81c715c5deb4b623e6fa5ceedb719bdcbfaac73774221f77ab22"> 17</a></span> <a class="code hl_enumvalue" href="pdm_8h.html#a28b8288e0206f81c715c5deb4b623e6fa5ceedb719bdcbfaac73774221f77ab22">PdmPlayEventType_PowerStateChange</a> = 2, <span class="comment">///&lt; PowerStateChange</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"><a class="line" href="pdm_8h.html#a28b8288e0206f81c715c5deb4b623e6faf7ebf814bdd025c6d03fe35972a693fb"> 18</a></span> <a class="code hl_enumvalue" href="pdm_8h.html#a28b8288e0206f81c715c5deb4b623e6faf7ebf814bdd025c6d03fe35972a693fb">PdmPlayEventType_OperationModeChange</a> = 3, <span class="comment">///&lt; OperationModeChange</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"><a class="line" href="pdm_8h.html#a28b8288e0206f81c715c5deb4b623e6faec4d55c0fd3ae73a66cbe66c4d60921a"> 19</a></span> <a class="code hl_enumvalue" href="pdm_8h.html#a28b8288e0206f81c715c5deb4b623e6faec4d55c0fd3ae73a66cbe66c4d60921a">PdmPlayEventType_Initialize</a> = 4, <span class="comment">///&lt; Initialize. Used for the very first PlayEvent entry in the log.</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span>} <a class="code hl_enumeration" href="pdm_8h.html#a28b8288e0206f81c715c5deb4b623e6f">PdmPlayEventType</a>;</div>
</div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span><span class="comment"></span> </div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span><span class="comment">/// AppletEventType</span></div>
<div class="foldopen" id="foldopen00023" data-start="{" data-end="};">
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"><a class="line" href="pdm_8h.html#afd65db9b9e16a41fdefd61980a8c2fbe"> 23</a></span><span class="comment"></span><span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"><a class="line" href="pdm_8h.html#afd65db9b9e16a41fdefd61980a8c2fbea44feee6635f46aefa1429fbe7cf53fc3"> 24</a></span> <a class="code hl_enumvalue" href="pdm_8h.html#afd65db9b9e16a41fdefd61980a8c2fbea44feee6635f46aefa1429fbe7cf53fc3">PdmAppletEventType_Launch</a> = 0, <span class="comment">///&lt; &quot;launch&quot;</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"><a class="line" href="pdm_8h.html#afd65db9b9e16a41fdefd61980a8c2fbea479e5e85c9bbc06e135fc416e3e3c5fe"> 25</a></span> <a class="code hl_enumvalue" href="pdm_8h.html#afd65db9b9e16a41fdefd61980a8c2fbea479e5e85c9bbc06e135fc416e3e3c5fe">PdmAppletEventType_Exit</a> = 1, <span class="comment">///&lt; &quot;exit&quot;</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"><a class="line" href="pdm_8h.html#afd65db9b9e16a41fdefd61980a8c2fbea9179f890b63bf9ee53a9569ec15d8f9f"> 26</a></span> <a class="code hl_enumvalue" href="pdm_8h.html#afd65db9b9e16a41fdefd61980a8c2fbea9179f890b63bf9ee53a9569ec15d8f9f">PdmAppletEventType_InFocus</a> = 2, <span class="comment">///&lt; &quot;in_focus&quot;</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"><a class="line" href="pdm_8h.html#afd65db9b9e16a41fdefd61980a8c2fbeac4240e3d6a50a0a28340759edbc7a1c4"> 27</a></span> <a class="code hl_enumvalue" href="pdm_8h.html#afd65db9b9e16a41fdefd61980a8c2fbeac4240e3d6a50a0a28340759edbc7a1c4">PdmAppletEventType_OutOfFocus</a> = 3, <span class="comment">///&lt; &quot;out_of_focus&quot;</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"><a class="line" href="pdm_8h.html#afd65db9b9e16a41fdefd61980a8c2fbea0dbdced13e0f7c0ac7d1966859e289bd"> 28</a></span> <a class="code hl_enumvalue" href="pdm_8h.html#afd65db9b9e16a41fdefd61980a8c2fbea0dbdced13e0f7c0ac7d1966859e289bd">PdmAppletEventType_OutOfFocus4</a> = 4, <span class="comment">///&lt; &quot;out_of_focus&quot;</span></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"><a class="line" href="pdm_8h.html#afd65db9b9e16a41fdefd61980a8c2fbea06c085b2ab7f1903849a29f115da6527"> 29</a></span> <a class="code hl_enumvalue" href="pdm_8h.html#afd65db9b9e16a41fdefd61980a8c2fbea06c085b2ab7f1903849a29f115da6527">PdmAppletEventType_Exit5</a> = 5, <span class="comment">///&lt; &quot;exit&quot;</span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"><a class="line" href="pdm_8h.html#afd65db9b9e16a41fdefd61980a8c2fbea12546673e09a6f8c0b2171bad0efacce"> 30</a></span> <a class="code hl_enumvalue" href="pdm_8h.html#afd65db9b9e16a41fdefd61980a8c2fbea12546673e09a6f8c0b2171bad0efacce">PdmAppletEventType_Exit6</a> = 6, <span class="comment">///&lt; &quot;exit&quot;</span></div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span>} <a class="code hl_enumeration" href="pdm_8h.html#afd65db9b9e16a41fdefd61980a8c2fbe">PdmAppletEventType</a>;</div>
</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span><span class="comment"></span> </div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span><span class="comment">/// PlayLogPolicy</span></div>
<div class="foldopen" id="foldopen00034" data-start="{" data-end="};">
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"><a class="line" href="pdm_8h.html#afc90e227c29d9301bbb60fd189761095"> 34</a></span><span class="comment"></span><span class="keyword">typedef</span> <span class="keyword">enum</span> {</div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"><a class="line" href="pdm_8h.html#afc90e227c29d9301bbb60fd189761095a156d07bb7094865df849974a759eba2a"> 35</a></span> <a class="code hl_enumvalue" href="pdm_8h.html#afc90e227c29d9301bbb60fd189761095a156d07bb7094865df849974a759eba2a">PdmPlayLogPolicy_All</a> = 0, <span class="comment">///&lt; All pdm:qry commands which require ::PdmPlayEventType_Applet and AppletId = Application will only return the entry when PlayLogPolicy matches this value.</span></div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"><a class="line" href="pdm_8h.html#afc90e227c29d9301bbb60fd189761095a9d7e7e291a86caa954dc633315b915c8"> 36</a></span> <a class="code hl_enumvalue" href="pdm_8h.html#afc90e227c29d9301bbb60fd189761095a9d7e7e291a86caa954dc633315b915c8">PdmPlayLogPolicy_LogOnly</a> = 1, <span class="comment">///&lt; The above commands will filter out the entry with this.</span></div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"><a class="line" href="pdm_8h.html#afc90e227c29d9301bbb60fd189761095aa6128ed3c08e9c8427c8d0f40958bdcc"> 37</a></span> <a class="code hl_enumvalue" href="pdm_8h.html#afc90e227c29d9301bbb60fd189761095aa6128ed3c08e9c8427c8d0f40958bdcc">PdmPlayLogPolicy_None</a> = 2, <span class="comment">///&lt; The pdm:ntfy commands which handle ::PdmPlayEventType_Applet logging will immediately return 0 when the input param matches this value.</span></div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"><a class="line" href="pdm_8h.html#afc90e227c29d9301bbb60fd189761095a1829caad879184f203f52ebf67b92ccf"> 38</a></span> <a class="code hl_enumvalue" href="pdm_8h.html#afc90e227c29d9301bbb60fd189761095a1829caad879184f203f52ebf67b92ccf">PdmPlayLogPolicy_Unknown3</a> = 3, <span class="comment">///&lt; [10.0.0+] The cmds which require ::PdmPlayLogPolicy_All, now also allow value 3 if the cmd input flag is set.</span></div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span>} <a class="code hl_enumeration" href="pdm_8h.html#afc90e227c29d9301bbb60fd189761095">PdmPlayLogPolicy</a>;</div>
</div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span><span class="comment"></span> </div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span><span class="comment">/// AppletEventV1. AppletEvent for [1.0.0-15.0.1], converted to \ref PdmAppletEvent when needed.</span></div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span><span class="comment">/// Timestamp format, converted from PosixTime: total minutes since epoch UTC 1999/12/31 00:00:00.</span></div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span><span class="comment">/// See \ref pdmPlayTimestampToPosix.</span></div>
<div class="foldopen" id="foldopen00044" data-start="{" data-end="};">
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"><a class="line" href="structPdmAppletEventV1.html"> 44</a></span><span class="comment"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"><a class="line" href="structPdmAppletEventV1.html#a0285234f91039a93e9a7adefa3b7f9e9"> 45</a></span> <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> <a class="code hl_variable" href="structPdmAppletEventV1.html#a0285234f91039a93e9a7adefa3b7f9e9">program_id</a>; <span class="comment">///&lt; ProgramId.</span></div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"><a class="line" href="structPdmAppletEventV1.html#a8add8c6e441efcbb23b1697083d151b4"> 46</a></span> <a class="code hl_typedef" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> <a class="code hl_variable" href="structPdmAppletEventV1.html#a8add8c6e441efcbb23b1697083d151b4">entry_index</a>; <span class="comment">///&lt; Entry index.</span></div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"><a class="line" href="structPdmAppletEventV1.html#a09ae199cce5eb354d721e47ba403f8d0"> 47</a></span> <a class="code hl_typedef" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> <a class="code hl_variable" href="structPdmAppletEventV1.html#a09ae199cce5eb354d721e47ba403f8d0">timestamp_user</a>; <span class="comment">///&lt; See PdmPlayEvent::timestamp_user, with the above timestamp format.</span></div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"><a class="line" href="structPdmAppletEventV1.html#a8807883a9450b214fcb678660487f683"> 48</a></span> <a class="code hl_typedef" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> <a class="code hl_variable" href="structPdmAppletEventV1.html#a8807883a9450b214fcb678660487f683">timestamp_network</a>; <span class="comment">///&lt; See PdmPlayEvent::timestamp_network, with the above timestamp format.</span></div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"><a class="line" href="structPdmAppletEventV1.html#ab587948e576740617a75432781ac5f3b"> 49</a></span> <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> <a class="code hl_variable" href="structPdmAppletEventV1.html#ab587948e576740617a75432781ac5f3b">event_type</a>; <span class="comment">///&lt; \ref PdmAppletEventType</span></div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"><a class="line" href="structPdmAppletEventV1.html#a5bbf271a36f7517391fc0f8859500eb1"> 50</a></span> <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> pad[3]; <span class="comment">///&lt; Padding.</span></div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span>} <a class="code hl_struct" href="structPdmAppletEventV1.html">PdmAppletEventV1</a>;</div>
</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span><span class="comment"></span> </div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span><span class="comment">/// AppletEvent. AppletEvent for [16.0.0+], converted from \ref PdmAppletEventV1 on [1.0.0-15.0.1].</span></div>
<div class="foldopen" id="foldopen00054" data-start="{" data-end="};">
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"><a class="line" href="structPdmAppletEvent.html"> 54</a></span><span class="comment"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"><a class="line" href="structPdmAppletEvent.html#aed71b942be10cb3cc78d37463fe71a45"> 55</a></span> <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> <a class="code hl_variable" href="structPdmAppletEvent.html#aed71b942be10cb3cc78d37463fe71a45">program_id</a>; <span class="comment">///&lt; ProgramId.</span></div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"><a class="line" href="structPdmAppletEvent.html#a9c7b338d0e7388e000d203b80bdd254d"> 56</a></span> <a class="code hl_typedef" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> <a class="code hl_variable" href="structPdmAppletEvent.html#a9c7b338d0e7388e000d203b80bdd254d">entry_index</a>; <span class="comment">///&lt; Entry index.</span></div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"><a class="line" href="structPdmAppletEvent.html#a6154ebd053eab9b184bdac8c588c6397"> 57</a></span> <a class="code hl_typedef" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> <a class="code hl_variable" href="structPdmAppletEvent.html#a6154ebd053eab9b184bdac8c588c6397">pad</a>; <span class="comment">///&lt; Padding</span></div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"><a class="line" href="structPdmAppletEvent.html#a102b4f6b3922950ac2e4f001b5395ed4"> 58</a></span> <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> <a class="code hl_variable" href="structPdmAppletEvent.html#a102b4f6b3922950ac2e4f001b5395ed4">timestamp_user</a>; <span class="comment">///&lt; See PdmPlayEvent::timestamp_user.</span></div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"><a class="line" href="structPdmAppletEvent.html#a82a0fc8802d329e6a8aacb8684e1e9f1"> 59</a></span> <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> <a class="code hl_variable" href="structPdmAppletEvent.html#a82a0fc8802d329e6a8aacb8684e1e9f1">timestamp_network</a>; <span class="comment">///&lt; See PdmPlayEvent::timestamp_network.</span></div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"><a class="line" href="structPdmAppletEvent.html#a4a3b4ae7cd358e3c57213454361c76c8"> 60</a></span> <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> <a class="code hl_variable" href="structPdmAppletEvent.html#a4a3b4ae7cd358e3c57213454361c76c8">event_type</a>; <span class="comment">///&lt; \ref PdmAppletEventType</span></div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"><a class="line" href="structPdmAppletEvent.html#a40df932df1eac462689a6458f709abc2"> 61</a></span> <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> pad2[7]; <span class="comment">///&lt; Padding.</span></div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span>} <a class="code hl_struct" href="structPdmAppletEvent.html">PdmAppletEvent</a>;</div>
</div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span><span class="comment"></span> </div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span><span class="comment">/// PlayStatisticsV1. PlayStatistics for [1.0.0-15.0.1], converted to \ref PdmPlayStatistics when needed.</span></div>
<div class="foldopen" id="foldopen00065" data-start="{" data-end="};">
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"><a class="line" href="structPdmPlayStatisticsV1.html"> 65</a></span><span class="comment"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"><a class="line" href="structPdmPlayStatisticsV1.html#a273ca8c9812003ee37ae62ef9a71d370"> 66</a></span> <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> <a class="code hl_variable" href="structPdmPlayStatisticsV1.html#a273ca8c9812003ee37ae62ef9a71d370">program_id</a>; <span class="comment">///&lt; ProgramId.</span></div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> </div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"><a class="line" href="structPdmPlayStatisticsV1.html#a6294b9056877e5bc78700ec61a0b287f"> 68</a></span> <a class="code hl_typedef" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> <a class="code hl_variable" href="structPdmPlayStatisticsV1.html#a6294b9056877e5bc78700ec61a0b287f">first_entry_index</a>; <span class="comment">///&lt; Entry index for the first time the program was played.</span></div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"><a class="line" href="structPdmPlayStatisticsV1.html#aef73ff57963a22b25d62fa926b10474d"> 69</a></span> <a class="code hl_typedef" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> <a class="code hl_variable" href="structPdmPlayStatisticsV1.html#aef73ff57963a22b25d62fa926b10474d">first_timestamp_user</a>; <span class="comment">///&lt; See PdmAppletEventV1::timestamp_user. This is for the first time the program was played.</span></div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"><a class="line" href="structPdmPlayStatisticsV1.html#a0717dfca7078d8862b0dc814dcc995eb"> 70</a></span> <a class="code hl_typedef" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> <a class="code hl_variable" href="structPdmPlayStatisticsV1.html#a0717dfca7078d8862b0dc814dcc995eb">first_timestamp_network</a>; <span class="comment">///&lt; See PdmAppletEventV1::timestamp_network. This is for the first time the program was played.</span></div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span> </div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"><a class="line" href="structPdmPlayStatisticsV1.html#ad358a69863b817e6c6fbe5aadc0859d6"> 72</a></span> <a class="code hl_typedef" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> <a class="code hl_variable" href="structPdmPlayStatisticsV1.html#ad358a69863b817e6c6fbe5aadc0859d6">last_entry_index</a>; <span class="comment">///&lt; Entry index for the last time the program was played.</span></div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"><a class="line" href="structPdmPlayStatisticsV1.html#a80fc9ada702d15bff63e48c734f384d2"> 73</a></span> <a class="code hl_typedef" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> <a class="code hl_variable" href="structPdmPlayStatisticsV1.html#a80fc9ada702d15bff63e48c734f384d2">last_timestamp_user</a>; <span class="comment">///&lt; See PdmAppletEventV1::timestamp_user. This is for the last time the program was played.</span></div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"><a class="line" href="structPdmPlayStatisticsV1.html#aa964c04e13ab03a078931399c1846422"> 74</a></span> <a class="code hl_typedef" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> <a class="code hl_variable" href="structPdmPlayStatisticsV1.html#aa964c04e13ab03a078931399c1846422">last_timestamp_network</a>; <span class="comment">///&lt; See PdmAppletEventV1::timestamp_network. This is for the last time the program was played.</span></div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> </div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"><a class="line" href="structPdmPlayStatisticsV1.html#ae6abe8e601e98287f446c40de6ee1b60"> 76</a></span> <a class="code hl_typedef" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> <a class="code hl_variable" href="structPdmPlayStatisticsV1.html#ae6abe8e601e98287f446c40de6ee1b60">playtime_minutes</a>; <span class="comment">///&lt; Total play-time in minutes.</span></div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"><a class="line" href="structPdmPlayStatisticsV1.html#a70c61798e1cbe3482d8d9326da3f9db1"> 77</a></span> <a class="code hl_typedef" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> <a class="code hl_variable" href="structPdmPlayStatisticsV1.html#a70c61798e1cbe3482d8d9326da3f9db1">total_launches</a>; <span class="comment">///&lt; Total times the program was launched.</span></div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span>} <a class="code hl_struct" href="structPdmPlayStatisticsV1.html">PdmPlayStatisticsV1</a>;</div>
</div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span><span class="comment"></span> </div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span><span class="comment">/// PlayStatistics. PlayStatistics for [16.0.0+], converted from \ref PdmPlayStatisticsV1 on [1.0.0-15.0.1].</span></div>
<div class="foldopen" id="foldopen00081" data-start="{" data-end="};">
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"><a class="line" href="structPdmPlayStatistics.html"> 81</a></span><span class="comment"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno"><a class="line" href="structPdmPlayStatistics.html#add7ce8907aa50a23ede99bd26e8ac540"> 82</a></span> <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> <a class="code hl_variable" href="structPdmPlayStatistics.html#add7ce8907aa50a23ede99bd26e8ac540">program_id</a>; <span class="comment">///&lt; ProgramId.</span></div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno"> 83</span> </div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno"><a class="line" href="structPdmPlayStatistics.html#a820feb1065e2185bbc807c3dcdc26809"> 84</a></span> <a class="code hl_typedef" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> <a class="code hl_variable" href="structPdmPlayStatistics.html#a820feb1065e2185bbc807c3dcdc26809">first_entry_index</a>; <span class="comment">///&lt; Entry index for the first time the program was played.</span></div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno"><a class="line" href="structPdmPlayStatistics.html#a6d313ed211fbb37e01519df2a92db9fc"> 85</a></span> <a class="code hl_typedef" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> <a class="code hl_variable" href="structPdmPlayStatistics.html#a6d313ed211fbb37e01519df2a92db9fc">pad</a>; <span class="comment">///&lt; Padding</span></div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno"><a class="line" href="structPdmPlayStatistics.html#aef216c79ec96cff626676c62ae1a1827"> 86</a></span> <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> <a class="code hl_variable" href="structPdmPlayStatistics.html#aef216c79ec96cff626676c62ae1a1827">first_timestamp_user</a>; <span class="comment">///&lt; See PdmAppletEvent::timestamp_user. This is for the first time the program was played, in PosixTime.</span></div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno"><a class="line" href="structPdmPlayStatistics.html#a873516bafbe0451f270c0e9b94da8c63"> 87</a></span> <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> <a class="code hl_variable" href="structPdmPlayStatistics.html#a873516bafbe0451f270c0e9b94da8c63">first_timestamp_network</a>; <span class="comment">///&lt; See PdmAppletEvent::timestamp_network. This is for the first time the program was played, in PosixTime.</span></div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno"> 88</span> </div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno"><a class="line" href="structPdmPlayStatistics.html#a1c8ed159265bfc79b98683f4f72a41ac"> 89</a></span> <a class="code hl_typedef" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> <a class="code hl_variable" href="structPdmPlayStatistics.html#a1c8ed159265bfc79b98683f4f72a41ac">last_entry_index</a>; <span class="comment">///&lt; Entry index for the last time the program was played.</span></div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno"><a class="line" href="structPdmPlayStatistics.html#aab4347cec4e6fbfb6b11eba5eb208ae6"> 90</a></span> <a class="code hl_typedef" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> <a class="code hl_variable" href="structPdmPlayStatistics.html#aab4347cec4e6fbfb6b11eba5eb208ae6">pad2</a>; <span class="comment">///&lt; Padding</span></div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno"><a class="line" href="structPdmPlayStatistics.html#a252ce3ef3ed993653a8fdb0070868e94"> 91</a></span> <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> <a class="code hl_variable" href="structPdmPlayStatistics.html#a252ce3ef3ed993653a8fdb0070868e94">last_timestamp_user</a>; <span class="comment">///&lt; See PdmAppletEvent::timestamp_user. This is for the last time the program was played, in PosixTime.</span></div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"><a class="line" href="structPdmPlayStatistics.html#aea0e53855a4e7ec40fc3d6bbeaff3551"> 92</a></span> <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> <a class="code hl_variable" href="structPdmPlayStatistics.html#aea0e53855a4e7ec40fc3d6bbeaff3551">last_timestamp_network</a>; <span class="comment">///&lt; See PdmAppletEvent::timestamp_network. This is for the last time the program was played, in PosixTime.</span></div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno"> 93</span> </div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"><a class="line" href="structPdmPlayStatistics.html#a494740b21803e4f0ca9e6114d66aa664"> 94</a></span> <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> <a class="code hl_variable" href="structPdmPlayStatistics.html#a494740b21803e4f0ca9e6114d66aa664">playtime</a>; <span class="comment">///&lt; Total play-time in nanoseconds.</span></div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"><a class="line" href="structPdmPlayStatistics.html#a3120b2cd07e9d0a70fbfbed5253a134d"> 95</a></span> <a class="code hl_typedef" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> <a class="code hl_variable" href="structPdmPlayStatistics.html#a3120b2cd07e9d0a70fbfbed5253a134d">total_launches</a>; <span class="comment">///&lt; Total times the program was launched.</span></div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"><a class="line" href="structPdmPlayStatistics.html#aafbd251567a1dfa2d68a65a6c201d67e"> 96</a></span> <a class="code hl_typedef" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> <a class="code hl_variable" href="structPdmPlayStatistics.html#aafbd251567a1dfa2d68a65a6c201d67e">pad3</a>; <span class="comment">///&lt; Padding</span></div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span>} <a class="code hl_struct" href="structPdmPlayStatistics.html">PdmPlayStatistics</a>;</div>
</div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span><span class="comment"></span> </div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"> 99</span><span class="comment">/// LastPlayTime.</span></div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno"> 100</span><span class="comment">/// This contains data from the last time the application was played.</span></div>
<div class="foldopen" id="foldopen00101" data-start="{" data-end="};">
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno"><a class="line" href="structPdmLastPlayTime.html"> 101</a></span><span class="comment"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno"><a class="line" href="structPdmLastPlayTime.html#a272e7961296e7ee6703b9406e9176df1"> 102</a></span> <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> <a class="code hl_variable" href="structPdmLastPlayTime.html#a272e7961296e7ee6703b9406e9176df1">application_id</a>; <span class="comment">///&lt; ApplicationId.</span></div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno"><a class="line" href="structPdmLastPlayTime.html#aab70380ccbef3049790a878c4cb58c13"> 103</a></span> <a class="code hl_typedef" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> <a class="code hl_variable" href="structPdmLastPlayTime.html#aab70380ccbef3049790a878c4cb58c13">timestamp_user</a>; <span class="comment">///&lt; See PdmAppletEventV1::timestamp_user.</span></div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno"><a class="line" href="structPdmLastPlayTime.html#a69c8978fa79f3c8edc106a2d9905d071"> 104</a></span> <a class="code hl_typedef" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> <a class="code hl_variable" href="structPdmLastPlayTime.html#a69c8978fa79f3c8edc106a2d9905d071">timestamp_network</a>; <span class="comment">///&lt; See PdmAppletEventV1::timestamp_network.</span></div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno"><a class="line" href="structPdmLastPlayTime.html#ad4bf6b2d305580401bae5e76e75d737c"> 105</a></span> <a class="code hl_typedef" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> <a class="code hl_variable" href="structPdmLastPlayTime.html#ad4bf6b2d305580401bae5e76e75d737c">last_played_minutes</a>; <span class="comment">///&lt; Total minutes since the application was last played.</span></div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"><a class="line" href="structPdmLastPlayTime.html#a0f0e9b7cf022183f00baa95661698d04"> 106</a></span> <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> <a class="code hl_variable" href="structPdmLastPlayTime.html#a0f0e9b7cf022183f00baa95661698d04">flag</a>; <span class="comment">///&lt; Flag indicating whether the above field is set.</span></div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno"><a class="line" href="structPdmLastPlayTime.html#a182cc5b098655c267074b37e6e2c3bec"> 107</a></span> <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> pad[3]; <span class="comment">///&lt; Padding.</span></div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno"> 108</span>} <a class="code hl_struct" href="structPdmLastPlayTime.html">PdmLastPlayTime</a>;</div>
</div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno"> 109</span><span class="comment"></span> </div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno"> 110</span><span class="comment">/// PlayEvent.</span></div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"> 111</span><span class="comment">/// This is the raw entry struct directly read from FS, without any entry filtering.</span></div>
<div class="foldopen" id="foldopen00112" data-start="{" data-end="};">
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"><a class="line" href="structPdmPlayEvent.html"> 112</a></span><span class="comment"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> <span class="keyword">union </span>{</div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno"> 114</span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno"><a class="line" href="structPdmPlayEvent.html#a7275eded2145764a8ec15ead77138b46"> 115</a></span> <a class="code hl_typedef" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> program_id[2]; <span class="comment">///&lt; ProgramId.</span></div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"> 116</span> </div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> <span class="keyword">union </span>{</div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno"> 118</span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno"><a class="line" href="structPdmPlayEvent.html#a1e751ca08da384fd82821dddf909bf7d"> 119</a></span> <a class="code hl_typedef" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> <a class="code hl_variable" href="structPdmPlayEvent.html#a1e751ca08da384fd82821dddf909bf7d">version</a>; <span class="comment">///&lt; Application version.</span></div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno"><a class="line" href="structPdmPlayEvent.html#a0b878615247dc9aa46daff318d212e8f"> 120</a></span> } application; <span class="comment">///&lt; For AppletId == ::AppletId_application.</span></div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"> 121</span> </div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno"> 122</span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno"><a class="line" href="structPdmPlayEvent.html#aff23478df2113a0e2c635c4ce3dc9ae6"> 123</a></span> <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> <a class="code hl_variable" href="structPdmPlayEvent.html#aff23478df2113a0e2c635c4ce3dc9ae6">flag</a>; <span class="comment">///&lt; Set to 0x1 by pdm:ntfy cmd8, indicating that the below field is set to an input param.</span></div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno"><a class="line" href="structPdmPlayEvent.html#a57ac2f9fb7cf860ba213a4801deefc9b"> 124</a></span> <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> <a class="code hl_variable" href="structPdmPlayEvent.html#a57ac2f9fb7cf860ba213a4801deefc9b">mode</a>; <span class="comment">///&lt; Input value from pdm:ntfy cmd8, see \ref LibAppletMode.</span></div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"><a class="line" href="structPdmPlayEvent.html#a1c6540ecbf5ed3b56a39628d87ac40fe"> 125</a></span> <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> pad[2]; <span class="comment">///&lt; Padding.</span></div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"><a class="line" href="structPdmPlayEvent.html#a5686dc9e44830d3b420ae8a20a3ca302"> 126</a></span> } applet; <span class="comment">///&lt; For AppletId != ::AppletId_application.</span></div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"> 127</span> </div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno"> 128</span> <a class="code hl_typedef" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> data;</div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno"> 129</span> } unk_x8;</div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno"> 130</span> </div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno"><a class="line" href="structPdmPlayEvent.html#a7f6bbf13b4434b0063609b9bfdaec8e0"> 131</a></span> <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> <a class="code hl_variable" href="structPdmPlayEvent.html#a7f6bbf13b4434b0063609b9bfdaec8e0">applet_id</a>; <span class="comment">///&lt; \ref AppletId</span></div>
<div class="line"><a id="l00132" name="l00132"></a><span class="lineno"><a class="line" href="structPdmPlayEvent.html#ad2eedd2c59d4395719d7c7568f165c88"> 132</a></span> <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> <a class="code hl_variable" href="structPdmPlayEvent.html#ad2eedd2c59d4395719d7c7568f165c88">storage_id</a>; <span class="comment">///&lt; \ref NcmStorageId</span></div>
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"><a class="line" href="structPdmPlayEvent.html#a43b3c42ce22c368992e0695b016fe30a"> 133</a></span> <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> <a class="code hl_variable" href="structPdmPlayEvent.html#a43b3c42ce22c368992e0695b016fe30a">log_policy</a>; <span class="comment">///&lt; \ref PdmPlayLogPolicy</span></div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"><a class="line" href="structPdmPlayEvent.html#ab775a3ff6ca40e59b200328397cad7b5"> 134</a></span> <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> <a class="code hl_variable" href="structPdmPlayEvent.html#ab775a3ff6ca40e59b200328397cad7b5">event_type</a>; <span class="comment">///&lt; \ref PdmAppletEventType</span></div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno"><a class="line" href="structPdmPlayEvent.html#a8f6953794625ff295c6d9e49549bce57"> 135</a></span> <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> unused[0xc]; <span class="comment">///&lt; Unused.</span></div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno"> 136</span> } applet;</div>
<div class="line"><a id="l00137" name="l00137"></a><span class="lineno"> 137</span> </div>
<div class="line"><a id="l00138" name="l00138"></a><span class="lineno"> 138</span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"><a class="line" href="structPdmPlayEvent.html#a364b721419b0f76b964927df717d86a1"> 139</a></span> <a class="code hl_typedef" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> uid[4]; <span class="comment">///&lt; userId.</span></div>
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"><a class="line" href="structPdmPlayEvent.html#ae174d47e2c9c9c3dc68f72d5ebd34fd1"> 140</a></span> <a class="code hl_typedef" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> application_id[2]; <span class="comment">///&lt; ApplicationId, see below.</span></div>
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"><a class="line" href="structPdmPlayEvent.html#a26734a43879e3e145a0225b7905ece01"> 141</a></span> <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> <a class="code hl_variable" href="structPdmPlayEvent.html#a26734a43879e3e145a0225b7905ece01">type</a>; <span class="comment">///&lt; 0-1 to be listed by \ref pdmqryQueryAccountEvent, or 2 to include the above ApplicationId.</span></div>
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span> } account;</div>
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span> </div>
<div class="line"><a id="l00144" name="l00144"></a><span class="lineno"> 144</span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00145" name="l00145"></a><span class="lineno"><a class="line" href="structPdmPlayEvent.html#a84db09b5d16a39cd497b902ac109e4e4"> 145</a></span> <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> <a class="code hl_variable" href="structPdmPlayEvent.html#a84db09b5d16a39cd497b902ac109e4e4">value</a>; <span class="comment">///&lt; Input value from the pdm:ntfy command.</span></div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno"> 146</span> <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> unused[0x1b]; <span class="comment">///&lt; Unused.</span></div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno"> 147</span> } power_state_change;</div>
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno"> 148</span> </div>
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno"> 149</span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno"> 150</span> <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> value; <span class="comment">///&lt; Input value from the pdm:ntfy command.</span></div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno"> 151</span> <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> unused[0x1b]; <span class="comment">///&lt; Unused.</span></div>
<div class="line"><a id="l00152" name="l00152"></a><span class="lineno"> 152</span> } operation_mode_change;</div>
<div class="line"><a id="l00153" name="l00153"></a><span class="lineno"> 153</span> </div>
<div class="line"><a id="l00154" name="l00154"></a><span class="lineno"> 154</span> <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> data[0x1c];</div>
<div class="line"><a id="l00155" name="l00155"></a><span class="lineno"><a class="line" href="structPdmPlayEvent.html#ac2e727ef779689d97623acbf42ee17da"> 155</a></span> } event_data; <span class="comment">///&lt; ProgramId/ApplicationId/userId stored within here have the u32 low/high swapped in each u64.</span></div>
<div class="line"><a id="l00156" name="l00156"></a><span class="lineno"> 156</span> </div>
<div class="line"><a id="l00157" name="l00157"></a><span class="lineno"><a class="line" href="structPdmPlayEvent.html#a24eb720722fd5f4e744bc389597642d4"> 157</a></span> <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> <a class="code hl_variable" href="structPdmPlayEvent.html#a24eb720722fd5f4e744bc389597642d4">play_event_type</a>; <span class="comment">///&lt; \ref PdmPlayEventType. Controls which struct in the above event_data is used. ::PdmPlayEventType_Initialize doesn&#39;t use event_data.</span></div>
<div class="line"><a id="l00158" name="l00158"></a><span class="lineno"> 158</span> <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> pad[3]; <span class="comment">///&lt; Padding.</span></div>
<div class="line"><a id="l00159" name="l00159"></a><span class="lineno"> 159</span> </div>
<div class="line"><a id="l00160" name="l00160"></a><span class="lineno"><a class="line" href="structPdmPlayEvent.html#afa02a5f6e23c1823fe8592dd8fe86d06"> 160</a></span> <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> <a class="code hl_variable" href="structPdmPlayEvent.html#afa02a5f6e23c1823fe8592dd8fe86d06">timestamp_user</a>; <span class="comment">///&lt; PosixTime timestamp from StandardUserSystemClock.</span></div>
<div class="line"><a id="l00161" name="l00161"></a><span class="lineno"><a class="line" href="structPdmPlayEvent.html#a16bec5ea80cc9c5d84b967a92c303f5f"> 161</a></span> <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> <a class="code hl_variable" href="structPdmPlayEvent.html#a16bec5ea80cc9c5d84b967a92c303f5f">timestamp_network</a>; <span class="comment">///&lt; PosixTime timestamp from StandardNetworkSystemClock.</span></div>
<div class="line"><a id="l00162" name="l00162"></a><span class="lineno"><a class="line" href="structPdmPlayEvent.html#adb2bd05a714351f9255dd15f153f861b"> 162</a></span> <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> <a class="code hl_variable" href="structPdmPlayEvent.html#adb2bd05a714351f9255dd15f153f861b">timestamp_steady</a>; <span class="comment">///&lt; Timestamp in seconds derived from StandardSteadyClock.</span></div>
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno"> 163</span>} <a class="code hl_struct" href="structPdmPlayEvent.html">PdmPlayEvent</a>;</div>
</div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno"> 164</span><span class="comment"></span> </div>
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno"> 165</span><span class="comment">/// AccountEventV3. AccountEvent for [3.0.0-9.2.0], converted to \ref PdmAccountEvent when needed.</span></div>
<div class="foldopen" id="foldopen00166" data-start="{" data-end="};">
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno"><a class="line" href="structPdmAccountEventV3.html"> 166</a></span><span class="comment"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno"><a class="line" href="structPdmAccountEventV3.html#a11a5886340fddfc8a33800365c85b198"> 167</a></span> <a class="code hl_struct" href="structAccountUid.html">AccountUid</a> <a class="code hl_variable" href="structPdmAccountEventV3.html#a11a5886340fddfc8a33800365c85b198">uid</a>; <span class="comment">///&lt; \ref AccountUid</span></div>
<div class="line"><a id="l00168" name="l00168"></a><span class="lineno"><a class="line" href="structPdmAccountEventV3.html#a908145413d9f467804883dfc81692ea3"> 168</a></span> <a class="code hl_typedef" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> <a class="code hl_variable" href="structPdmAccountEventV3.html#a908145413d9f467804883dfc81692ea3">entry_index</a>; <span class="comment">///&lt; Entry index.</span></div>
<div class="line"><a id="l00169" name="l00169"></a><span class="lineno"><a class="line" href="structPdmAccountEventV3.html#ac91389e534b89d042f89214e97c4d1e5"> 169</a></span> <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> pad[4]; <span class="comment">///&lt; Padding.</span></div>
<div class="line"><a id="l00170" name="l00170"></a><span class="lineno"><a class="line" href="structPdmAccountEventV3.html#ae2fd48ac9e3a505a540c7f0d8bf7d775"> 170</a></span> <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> <a class="code hl_variable" href="structPdmAccountEventV3.html#ae2fd48ac9e3a505a540c7f0d8bf7d775">timestamp_user</a>; <span class="comment">///&lt; See PdmPlayEvent::timestamp_user.</span></div>
<div class="line"><a id="l00171" name="l00171"></a><span class="lineno"><a class="line" href="structPdmAccountEventV3.html#a85857a1aff07fbd11229b7a329ba7268"> 171</a></span> <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> <a class="code hl_variable" href="structPdmAccountEventV3.html#a85857a1aff07fbd11229b7a329ba7268">timestamp_network</a>; <span class="comment">///&lt; See PdmPlayEvent::timestamp_network.</span></div>
<div class="line"><a id="l00172" name="l00172"></a><span class="lineno"><a class="line" href="structPdmAccountEventV3.html#a6aecf86587d5679bfe9b98569afdc292"> 172</a></span> <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> <a class="code hl_variable" href="structPdmAccountEventV3.html#a6aecf86587d5679bfe9b98569afdc292">timestamp_steady</a>; <span class="comment">///&lt; See PdmPlayEvent::timestamp_steady.</span></div>
<div class="line"><a id="l00173" name="l00173"></a><span class="lineno"><a class="line" href="structPdmAccountEventV3.html#a8eb6c1df7a1b31d4bcf30609e2e7da17"> 173</a></span> <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> <a class="code hl_variable" href="structPdmAccountEventV3.html#a8eb6c1df7a1b31d4bcf30609e2e7da17">type</a>; <span class="comment">///&lt; See PdmPlayEvent::event_data::account::type.</span></div>
<div class="line"><a id="l00174" name="l00174"></a><span class="lineno"><a class="line" href="structPdmAccountEventV3.html#aeaf645dca4d201f5f5f85acdfdd0e42b"> 174</a></span> <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> pad2[7]; <span class="comment">///&lt; Padding.</span></div>
<div class="line"><a id="l00175" name="l00175"></a><span class="lineno"> 175</span>} <a class="code hl_struct" href="structPdmAccountEventV3.html">PdmAccountEventV3</a>;</div>
</div>
<div class="line"><a id="l00176" name="l00176"></a><span class="lineno"> 176</span><span class="comment"></span> </div>
<div class="line"><a id="l00177" name="l00177"></a><span class="lineno"> 177</span><span class="comment">/// AccountEventV10. AccountEvent for [10.0.0-15.0.1], converted to \ref PdmAccountEvent when needed.</span></div>
<div class="foldopen" id="foldopen00178" data-start="{" data-end="};">
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno"><a class="line" href="structPdmAccountEventV10.html"> 178</a></span><span class="comment"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno"><a class="line" href="structPdmAccountEventV10.html#af5baf06e151533fab740f7b7f49e0b69"> 179</a></span> <a class="code hl_struct" href="structAccountUid.html">AccountUid</a> <a class="code hl_variable" href="structPdmAccountEventV10.html#af5baf06e151533fab740f7b7f49e0b69">uid</a>; <span class="comment">///&lt; \ref AccountUid</span></div>
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno"><a class="line" href="structPdmAccountEventV10.html#a9ab0c908167e0bad409fa4bf2860db7e"> 180</a></span> <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> <a class="code hl_variable" href="structPdmAccountEventV10.html#a9ab0c908167e0bad409fa4bf2860db7e">program_id</a>; <span class="comment">///&lt; ProgramId</span></div>
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno"><a class="line" href="structPdmAccountEventV10.html#a833e5af9bff09eb8978990e8795d8798"> 181</a></span> <a class="code hl_typedef" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> <a class="code hl_variable" href="structPdmAccountEventV10.html#a833e5af9bff09eb8978990e8795d8798">entry_index</a>; <span class="comment">///&lt; Entry index.</span></div>
<div class="line"><a id="l00182" name="l00182"></a><span class="lineno"><a class="line" href="structPdmAccountEventV10.html#a73926e59666b3ccf3e10967f3fb8cadf"> 182</a></span> <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> pad[4]; <span class="comment">///&lt; Padding.</span></div>
<div class="line"><a id="l00183" name="l00183"></a><span class="lineno"><a class="line" href="structPdmAccountEventV10.html#afd937897a132e549ecb0e67877fefa22"> 183</a></span> <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> <a class="code hl_variable" href="structPdmAccountEventV10.html#afd937897a132e549ecb0e67877fefa22">timestamp_user</a>; <span class="comment">///&lt; See PdmPlayEvent::timestamp_user.</span></div>
<div class="line"><a id="l00184" name="l00184"></a><span class="lineno"><a class="line" href="structPdmAccountEventV10.html#aad11ab8487739c9a27f414fa7a55d257"> 184</a></span> <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> <a class="code hl_variable" href="structPdmAccountEventV10.html#aad11ab8487739c9a27f414fa7a55d257">timestamp_network</a>; <span class="comment">///&lt; See PdmPlayEvent::timestamp_network.</span></div>
<div class="line"><a id="l00185" name="l00185"></a><span class="lineno"><a class="line" href="structPdmAccountEventV10.html#aab26303852423ce96be850ac9fc780e5"> 185</a></span> <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> <a class="code hl_variable" href="structPdmAccountEventV10.html#aab26303852423ce96be850ac9fc780e5">timestamp_steady</a>; <span class="comment">///&lt; See PdmPlayEvent::timestamp_steady.</span></div>
<div class="line"><a id="l00186" name="l00186"></a><span class="lineno"><a class="line" href="structPdmAccountEventV10.html#a6007ddbc76e46d10672b090d547c7a2a"> 186</a></span> <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> <a class="code hl_variable" href="structPdmAccountEventV10.html#a6007ddbc76e46d10672b090d547c7a2a">type</a>; <span class="comment">///&lt; See PdmPlayEvent::event_data::account::type.</span></div>
<div class="line"><a id="l00187" name="l00187"></a><span class="lineno"><a class="line" href="structPdmAccountEventV10.html#adecb45c13ee162297251875431f97ae2"> 187</a></span> <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> pad2[7]; <span class="comment">///&lt; Padding.</span></div>
<div class="line"><a id="l00188" name="l00188"></a><span class="lineno"> 188</span>} <a class="code hl_struct" href="structPdmAccountEventV10.html">PdmAccountEventV10</a>;</div>
</div>
<div class="line"><a id="l00189" name="l00189"></a><span class="lineno"> 189</span><span class="comment"></span> </div>
<div class="line"><a id="l00190" name="l00190"></a><span class="lineno"> 190</span><span class="comment">/// AccountEvent. AccountEvent for [16.0.0+], converted from the older structs when needed.</span></div>
<div class="foldopen" id="foldopen00191" data-start="{" data-end="};">
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno"><a class="line" href="structPdmAccountEvent.html"> 191</a></span><span class="comment"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno"><a class="line" href="structPdmAccountEvent.html#aff1abfb26846f3f069fd3eb32c65040b"> 192</a></span> <a class="code hl_struct" href="structAccountUid.html">AccountUid</a> <a class="code hl_variable" href="structPdmAccountEvent.html#aff1abfb26846f3f069fd3eb32c65040b">uid</a>; <span class="comment">///&lt; \ref AccountUid</span></div>
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno"><a class="line" href="structPdmAccountEvent.html#a95152778f81e93490130595d0ea57006"> 193</a></span> <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> <a class="code hl_variable" href="structPdmAccountEvent.html#a95152778f81e93490130595d0ea57006">program_id</a>; <span class="comment">///&lt; [10.0.0+] ProgramId</span></div>
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno"><a class="line" href="structPdmAccountEvent.html#a15b0a58160cd919d3d6606bf422602f1"> 194</a></span> <a class="code hl_typedef" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> <a class="code hl_variable" href="structPdmAccountEvent.html#a15b0a58160cd919d3d6606bf422602f1">entry_index</a>; <span class="comment">///&lt; Entry index.</span></div>
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno"><a class="line" href="structPdmAccountEvent.html#aa6ae6b3654ea5464596d63c03a9c06c6"> 195</a></span> <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> pad[4]; <span class="comment">///&lt; Padding.</span></div>
<div class="line"><a id="l00196" name="l00196"></a><span class="lineno"><a class="line" href="structPdmAccountEvent.html#a73e04c4af87bf278746a6ca89ac7442f"> 196</a></span> <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> <a class="code hl_variable" href="structPdmAccountEvent.html#a73e04c4af87bf278746a6ca89ac7442f">timestamp_user</a>; <span class="comment">///&lt; See PdmPlayEvent::timestamp_user.</span></div>
<div class="line"><a id="l00197" name="l00197"></a><span class="lineno"><a class="line" href="structPdmAccountEvent.html#a110fd84c5b9c9ed8aa51854282be7655"> 197</a></span> <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> <a class="code hl_variable" href="structPdmAccountEvent.html#a110fd84c5b9c9ed8aa51854282be7655">timestamp_network</a>; <span class="comment">///&lt; See PdmPlayEvent::timestamp_network.</span></div>
<div class="line"><a id="l00198" name="l00198"></a><span class="lineno"><a class="line" href="structPdmAccountEvent.html#a4b35dc410c05be025022ab64f6cf0e6c"> 198</a></span> <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> <a class="code hl_variable" href="structPdmAccountEvent.html#a4b35dc410c05be025022ab64f6cf0e6c">type</a>; <span class="comment">///&lt; See PdmPlayEvent::event_data::account::type.</span></div>
<div class="line"><a id="l00199" name="l00199"></a><span class="lineno"><a class="line" href="structPdmAccountEvent.html#a0d83b0d1835c2b83bd0d67e7d546e430"> 199</a></span> <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> pad2[7]; <span class="comment">///&lt; Padding.</span></div>
<div class="line"><a id="l00200" name="l00200"></a><span class="lineno"> 200</span>} <a class="code hl_struct" href="structPdmAccountEvent.html">PdmAccountEvent</a>;</div>
</div>
<div class="line"><a id="l00201" name="l00201"></a><span class="lineno"> 201</span><span class="comment"></span> </div>
<div class="line"><a id="l00202" name="l00202"></a><span class="lineno"> 202</span><span class="comment">/// AccountPlayEvent.</span></div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno"> 203</span><span class="comment">/// This is the raw entry struct directly read from FS, without any entry filtering. This is separate from \ref PdmPlayEvent.</span></div>
<div class="foldopen" id="foldopen00204" data-start="{" data-end="};">
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno"><a class="line" href="structPdmAccountPlayEvent.html"> 204</a></span><span class="comment"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00205" name="l00205"></a><span class="lineno"><a class="line" href="structPdmAccountPlayEvent.html#af7c84e08f749ef3bf1887ffc3d35ea10"> 205</a></span> <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> unk_x0[4]; <span class="comment">///&lt; Unknown.</span></div>
<div class="line"><a id="l00206" name="l00206"></a><span class="lineno"><a class="line" href="structPdmAccountPlayEvent.html#aa13cd076a805db7dec3d4e13566ce05f"> 206</a></span> <a class="code hl_typedef" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> application_id[2]; <span class="comment">///&lt; ApplicationId, with the u32 low/high words swapped.</span></div>
<div class="line"><a id="l00207" name="l00207"></a><span class="lineno"><a class="line" href="structPdmAccountPlayEvent.html#aa51eca5e2d4574d5c18cda17a3d319ef"> 207</a></span> <a class="code hl_typedef" href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a> unk_xc[0xc]; <span class="comment">///&lt; Unknown.</span></div>
<div class="line"><a id="l00208" name="l00208"></a><span class="lineno"><a class="line" href="structPdmAccountPlayEvent.html#a7a41268d461d3f732a9af547cc49a62f"> 208</a></span> <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> <a class="code hl_variable" href="structPdmAccountPlayEvent.html#a7a41268d461d3f732a9af547cc49a62f">timestamp0</a>; <span class="comment">///&lt; POSIX timestamp.</span></div>
<div class="line"><a id="l00209" name="l00209"></a><span class="lineno"><a class="line" href="structPdmAccountPlayEvent.html#a3198785c28b86049c08110cd97f117e8"> 209</a></span> <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> <a class="code hl_variable" href="structPdmAccountPlayEvent.html#a3198785c28b86049c08110cd97f117e8">timestamp1</a>; <span class="comment">///&lt; POSIX timestamp.</span></div>
<div class="line"><a id="l00210" name="l00210"></a><span class="lineno"> 210</span>} <a class="code hl_struct" href="structPdmAccountPlayEvent.html">PdmAccountPlayEvent</a>;</div>
</div>
<div class="line"><a id="l00211" name="l00211"></a><span class="lineno"> 211</span><span class="comment"></span> </div>
<div class="line"><a id="l00212" name="l00212"></a><span class="lineno"> 212</span><span class="comment">/// ApplicationPlayStatistics</span></div>
<div class="foldopen" id="foldopen00213" data-start="{" data-end="};">
<div class="line"><a id="l00213" name="l00213"></a><span class="lineno"><a class="line" href="structPdmApplicationPlayStatistics.html"> 213</a></span><span class="comment"></span><span class="keyword">typedef</span> <span class="keyword">struct </span>{</div>
<div class="line"><a id="l00214" name="l00214"></a><span class="lineno"><a class="line" href="structPdmApplicationPlayStatistics.html#af30111adc4e97bb866d6d283181c601f"> 214</a></span> <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> <a class="code hl_variable" href="structPdmApplicationPlayStatistics.html#af30111adc4e97bb866d6d283181c601f">application_id</a>; <span class="comment">///&lt; ApplicationId.</span></div>
<div class="line"><a id="l00215" name="l00215"></a><span class="lineno"><a class="line" href="structPdmApplicationPlayStatistics.html#a69ca56a5bd195ff98466e181ff66a0bb"> 215</a></span> <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> <a class="code hl_variable" href="structPdmApplicationPlayStatistics.html#a69ca56a5bd195ff98466e181ff66a0bb">playtime</a>; <span class="comment">///&lt; Total play-time in nanoseconds.</span></div>
<div class="line"><a id="l00216" name="l00216"></a><span class="lineno"><a class="line" href="structPdmApplicationPlayStatistics.html#a27978506679c36278b57ad396536b47e"> 216</a></span> <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> <a class="code hl_variable" href="structPdmApplicationPlayStatistics.html#a27978506679c36278b57ad396536b47e">total_launches</a>; <span class="comment">///&lt; Total times the application was launched.</span></div>
<div class="line"><a id="l00217" name="l00217"></a><span class="lineno"> 217</span>} <a class="code hl_struct" href="structPdmApplicationPlayStatistics.html">PdmApplicationPlayStatistics</a>;</div>
</div>
<div class="line"><a id="l00218" name="l00218"></a><span class="lineno"> 218</span><span class="comment"></span> </div>
<div class="line"><a id="l00219" name="l00219"></a><span class="lineno"> 219</span><span class="comment">/// Initialize pdm:qry.</span></div>
<div class="line"><a id="l00220" name="l00220"></a><span class="lineno"><a class="line" href="pdm_8h.html#a0e2695efbf1d8aac1c97174224fdf110"> 220</a></span><span class="comment"></span><a class="code hl_typedef" href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a> <a class="code hl_function" href="pdm_8h.html#a0e2695efbf1d8aac1c97174224fdf110">pdmqryInitialize</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00221" name="l00221"></a><span class="lineno"> 221</span><span class="comment"></span> </div>
<div class="line"><a id="l00222" name="l00222"></a><span class="lineno"> 222</span><span class="comment">/// Exit pdm:qry.</span></div>
<div class="line"><a id="l00223" name="l00223"></a><span class="lineno"><a class="line" href="pdm_8h.html#ac7d61c1eeea64b80cc1d2ba1a7b2d07e"> 223</a></span><span class="comment"></span><span class="keywordtype">void</span> <a class="code hl_function" href="pdm_8h.html#ac7d61c1eeea64b80cc1d2ba1a7b2d07e">pdmqryExit</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00224" name="l00224"></a><span class="lineno"> 224</span><span class="comment"></span> </div>
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno"> 225</span><span class="comment">/// Gets the Service object for the actual pdm:qry service session.</span></div>
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno"><a class="line" href="pdm_8h.html#a7d9ae48c750554d47ee2b111dce7f912"> 226</a></span><span class="comment"></span><a class="code hl_struct" href="structService.html">Service</a>* <a class="code hl_function" href="pdm_8h.html#a7d9ae48c750554d47ee2b111dce7f912">pdmqryGetServiceSession</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00227" name="l00227"></a><span class="lineno"> 227</span><span class="comment"></span> </div>
<div class="line"><a id="l00228" name="l00228"></a><span class="lineno"> 228</span><span class="comment">/**</span></div>
<div class="line"><a id="l00229" name="l00229"></a><span class="lineno"> 229</span><span class="comment"> * @brief Gets a list of \ref PdmAppletEvent.</span></div>
<div class="line"><a id="l00230" name="l00230"></a><span class="lineno"> 230</span><span class="comment"> * @param[in] entry_index Start entry index.</span></div>
<div class="line"><a id="l00231" name="l00231"></a><span class="lineno"> 231</span><span class="comment"> * @param[in] flag [10.0.0+] Whether to additionally allow using entries with ::PdmPlayLogPolicy_Unknown3.</span></div>
<div class="line"><a id="l00232" name="l00232"></a><span class="lineno"> 232</span><span class="comment"> * @param[out] events Output \ref PdmAppletEvent array.</span></div>
<div class="line"><a id="l00233" name="l00233"></a><span class="lineno"> 233</span><span class="comment"> * @param[in] count Max entries in the output array.</span></div>
<div class="line"><a id="l00234" name="l00234"></a><span class="lineno"> 234</span><span class="comment"> * @param[out] total_out Total output entries.</span></div>
<div class="line"><a id="l00235" name="l00235"></a><span class="lineno"> 235</span><span class="comment"> */</span></div>
<div class="line"><a id="l00236" name="l00236"></a><span class="lineno"><a class="line" href="pdm_8h.html#a9e1850882c6a923403f5a9e650fd2e82"> 236</a></span><a class="code hl_typedef" href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a> <a class="code hl_function" href="pdm_8h.html#a9e1850882c6a923403f5a9e650fd2e82">pdmqryQueryAppletEvent</a>(<a class="code hl_typedef" href="types_8h.html#ae9b1af5c037e57a98884758875d3a7c4">s32</a> entry_index, <span class="keywordtype">bool</span> flag, <a class="code hl_struct" href="structPdmAppletEvent.html">PdmAppletEvent</a> *events, <a class="code hl_typedef" href="types_8h.html#ae9b1af5c037e57a98884758875d3a7c4">s32</a> count, <a class="code hl_typedef" href="types_8h.html#ae9b1af5c037e57a98884758875d3a7c4">s32</a> *total_out);</div>
<div class="line"><a id="l00237" name="l00237"></a><span class="lineno"> 237</span><span class="comment"></span> </div>
<div class="line"><a id="l00238" name="l00238"></a><span class="lineno"> 238</span><span class="comment">/**</span></div>
<div class="line"><a id="l00239" name="l00239"></a><span class="lineno"> 239</span><span class="comment"> * @brief Gets \ref PdmPlayStatistics for the specified ApplicationId.</span></div>
<div class="line"><a id="l00240" name="l00240"></a><span class="lineno"> 240</span><span class="comment"> * @param[in] application_id ApplicationId</span></div>
<div class="line"><a id="l00241" name="l00241"></a><span class="lineno"> 241</span><span class="comment"> * @param[in] flag [10.0.0+] Whether to additionally allow using entries with ::PdmPlayLogPolicy_Unknown3.</span></div>
<div class="line"><a id="l00242" name="l00242"></a><span class="lineno"> 242</span><span class="comment"> * @param[out] stats \ref PdmPlayStatistics</span></div>
<div class="line"><a id="l00243" name="l00243"></a><span class="lineno"> 243</span><span class="comment"> */</span></div>
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno"><a class="line" href="pdm_8h.html#a531d764710de2afe6682c8839538d956"> 244</a></span><a class="code hl_typedef" href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a> <a class="code hl_function" href="pdm_8h.html#a531d764710de2afe6682c8839538d956">pdmqryQueryPlayStatisticsByApplicationId</a>(<a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> application_id, <span class="keywordtype">bool</span> flag, <a class="code hl_struct" href="structPdmPlayStatistics.html">PdmPlayStatistics</a> *stats);</div>
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno"> 245</span><span class="comment"></span> </div>
<div class="line"><a id="l00246" name="l00246"></a><span class="lineno"> 246</span><span class="comment">/**</span></div>
<div class="line"><a id="l00247" name="l00247"></a><span class="lineno"> 247</span><span class="comment"> * @brief Gets \ref PdmPlayStatistics for the specified ApplicationId and account userId.</span></div>
<div class="line"><a id="l00248" name="l00248"></a><span class="lineno"> 248</span><span class="comment"> * @param[in] application_id ApplicationId</span></div>
<div class="line"><a id="l00249" name="l00249"></a><span class="lineno"> 249</span><span class="comment"> * @param[in] uid \ref AccountUid</span></div>
<div class="line"><a id="l00250" name="l00250"></a><span class="lineno"> 250</span><span class="comment"> * @param[in] flag [10.0.0+] Whether to additionally allow using entries with ::PdmPlayLogPolicy_Unknown3.</span></div>
<div class="line"><a id="l00251" name="l00251"></a><span class="lineno"> 251</span><span class="comment"> * @param[out] stats \ref PdmPlayStatistics</span></div>
<div class="line"><a id="l00252" name="l00252"></a><span class="lineno"> 252</span><span class="comment"> */</span></div>
<div class="line"><a id="l00253" name="l00253"></a><span class="lineno"><a class="line" href="pdm_8h.html#a7a1e8d7c22c3ecdc7e2ab582a0e027b8"> 253</a></span><a class="code hl_typedef" href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a> <a class="code hl_function" href="pdm_8h.html#a7a1e8d7c22c3ecdc7e2ab582a0e027b8">pdmqryQueryPlayStatisticsByApplicationIdAndUserAccountId</a>(<a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> application_id, <a class="code hl_struct" href="structAccountUid.html">AccountUid</a> uid, <span class="keywordtype">bool</span> flag, <a class="code hl_struct" href="structPdmPlayStatistics.html">PdmPlayStatistics</a> *stats);</div>
<div class="line"><a id="l00254" name="l00254"></a><span class="lineno"> 254</span><span class="comment"></span> </div>
<div class="line"><a id="l00255" name="l00255"></a><span class="lineno"> 255</span><span class="comment">/**</span></div>
<div class="line"><a id="l00256" name="l00256"></a><span class="lineno"> 256</span><span class="comment"> * @brief Gets \ref PdmLastPlayTime for the specified applications.</span></div>
<div class="line"><a id="l00257" name="l00257"></a><span class="lineno"> 257</span><span class="comment"> * @param[in] flag [10.0.0+] Whether to additionally allow using entries with ::PdmPlayLogPolicy_Unknown3.</span></div>
<div class="line"><a id="l00258" name="l00258"></a><span class="lineno"> 258</span><span class="comment"> * @param[out] playtimes Output \ref PdmLastPlayTime array.</span></div>
<div class="line"><a id="l00259" name="l00259"></a><span class="lineno"> 259</span><span class="comment"> * @param[in] application_ids Input ApplicationIds array.</span></div>
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno"> 260</span><span class="comment"> * @param[in] count Total entries in the input/output arrays.</span></div>
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno"> 261</span><span class="comment"> * @param[out] total_out Total output entries.</span></div>
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno"> 262</span><span class="comment"> */</span></div>
<div class="line"><a id="l00263" name="l00263"></a><span class="lineno"><a class="line" href="pdm_8h.html#a8051c6ce6c58eef3a887094a2f801df3"> 263</a></span><a class="code hl_typedef" href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a> <a class="code hl_function" href="pdm_8h.html#a8051c6ce6c58eef3a887094a2f801df3">pdmqryQueryLastPlayTime</a>(<span class="keywordtype">bool</span> flag, <a class="code hl_struct" href="structPdmLastPlayTime.html">PdmLastPlayTime</a> *playtimes, <span class="keyword">const</span> <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> *application_ids, <a class="code hl_typedef" href="types_8h.html#ae9b1af5c037e57a98884758875d3a7c4">s32</a> count, <a class="code hl_typedef" href="types_8h.html#ae9b1af5c037e57a98884758875d3a7c4">s32</a> *total_out);</div>
<div class="line"><a id="l00264" name="l00264"></a><span class="lineno"> 264</span><span class="comment"></span> </div>
<div class="line"><a id="l00265" name="l00265"></a><span class="lineno"> 265</span><span class="comment">/**</span></div>
<div class="line"><a id="l00266" name="l00266"></a><span class="lineno"> 266</span><span class="comment"> * @brief Gets a list of \ref PdmPlayEvent.</span></div>
<div class="line"><a id="l00267" name="l00267"></a><span class="lineno"> 267</span><span class="comment"> * @param[in] entry_index Start entry index.</span></div>
<div class="line"><a id="l00268" name="l00268"></a><span class="lineno"> 268</span><span class="comment"> * @param[out] events Output \ref PdmPlayEvent array.</span></div>
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno"> 269</span><span class="comment"> * @param[in] count Max entries in the output array.</span></div>
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno"> 270</span><span class="comment"> * @param[out] total_out Total output entries.</span></div>
<div class="line"><a id="l00271" name="l00271"></a><span class="lineno"> 271</span><span class="comment"> */</span></div>
<div class="line"><a id="l00272" name="l00272"></a><span class="lineno"><a class="line" href="pdm_8h.html#a95facf806d70dacd8d22bb7e129365b4"> 272</a></span><a class="code hl_typedef" href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a> <a class="code hl_function" href="pdm_8h.html#a95facf806d70dacd8d22bb7e129365b4">pdmqryQueryPlayEvent</a>(<a class="code hl_typedef" href="types_8h.html#ae9b1af5c037e57a98884758875d3a7c4">s32</a> entry_index, <a class="code hl_struct" href="structPdmPlayEvent.html">PdmPlayEvent</a> *events, <a class="code hl_typedef" href="types_8h.html#ae9b1af5c037e57a98884758875d3a7c4">s32</a> count, <a class="code hl_typedef" href="types_8h.html#ae9b1af5c037e57a98884758875d3a7c4">s32</a> *total_out);</div>
<div class="line"><a id="l00273" name="l00273"></a><span class="lineno"> 273</span><span class="comment"></span> </div>
<div class="line"><a id="l00274" name="l00274"></a><span class="lineno"> 274</span><span class="comment">/**</span></div>
<div class="line"><a id="l00275" name="l00275"></a><span class="lineno"> 275</span><span class="comment"> * @brief Gets range fields which can then be used with the other pdmqry funcs, except for \ref pdmqryQueryAccountPlayEvent.</span></div>
<div class="line"><a id="l00276" name="l00276"></a><span class="lineno"> 276</span><span class="comment"> * @param[out] total_entries Total entries.</span></div>
<div class="line"><a id="l00277" name="l00277"></a><span class="lineno"> 277</span><span class="comment"> * @param[out] start_entry_index Start entry index.</span></div>
<div class="line"><a id="l00278" name="l00278"></a><span class="lineno"> 278</span><span class="comment"> * @param[out] end_entry_index End entry index.</span></div>
<div class="line"><a id="l00279" name="l00279"></a><span class="lineno"> 279</span><span class="comment"> */</span></div>
<div class="line"><a id="l00280" name="l00280"></a><span class="lineno"><a class="line" href="pdm_8h.html#a9cbeea5bef5da150e12840d51b8874b8"> 280</a></span><a class="code hl_typedef" href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a> <a class="code hl_function" href="pdm_8h.html#a9cbeea5bef5da150e12840d51b8874b8">pdmqryGetAvailablePlayEventRange</a>(<a class="code hl_typedef" href="types_8h.html#ae9b1af5c037e57a98884758875d3a7c4">s32</a> *total_entries, <a class="code hl_typedef" href="types_8h.html#ae9b1af5c037e57a98884758875d3a7c4">s32</a> *start_entry_index, <a class="code hl_typedef" href="types_8h.html#ae9b1af5c037e57a98884758875d3a7c4">s32</a> *end_entry_index);</div>
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno"> 281</span><span class="comment"></span> </div>
<div class="line"><a id="l00282" name="l00282"></a><span class="lineno"> 282</span><span class="comment">/**</span></div>
<div class="line"><a id="l00283" name="l00283"></a><span class="lineno"> 283</span><span class="comment"> * @brief Gets a list of \ref PdmAccountEvent.</span></div>
<div class="line"><a id="l00284" name="l00284"></a><span class="lineno"> 284</span><span class="comment"> * @note Only available with [3.0.0+].</span></div>
<div class="line"><a id="l00285" name="l00285"></a><span class="lineno"> 285</span><span class="comment"> * @param[in] entry_index Start entry index.</span></div>
<div class="line"><a id="l00286" name="l00286"></a><span class="lineno"> 286</span><span class="comment"> * @param[out] events Output \ref PdmAccountEvent array.</span></div>
<div class="line"><a id="l00287" name="l00287"></a><span class="lineno"> 287</span><span class="comment"> * @param[in] count Max entries in the output array.</span></div>
<div class="line"><a id="l00288" name="l00288"></a><span class="lineno"> 288</span><span class="comment"> * @param[out] total_out Total output entries.</span></div>
<div class="line"><a id="l00289" name="l00289"></a><span class="lineno"> 289</span><span class="comment"> */</span></div>
<div class="line"><a id="l00290" name="l00290"></a><span class="lineno"><a class="line" href="pdm_8h.html#aa04ee695cd580dfbe78cdfc307244106"> 290</a></span><a class="code hl_typedef" href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a> <a class="code hl_function" href="pdm_8h.html#aa04ee695cd580dfbe78cdfc307244106">pdmqryQueryAccountEvent</a>(<a class="code hl_typedef" href="types_8h.html#ae9b1af5c037e57a98884758875d3a7c4">s32</a> entry_index, <a class="code hl_struct" href="structPdmAccountEvent.html">PdmAccountEvent</a> *events, <a class="code hl_typedef" href="types_8h.html#ae9b1af5c037e57a98884758875d3a7c4">s32</a> count, <a class="code hl_typedef" href="types_8h.html#ae9b1af5c037e57a98884758875d3a7c4">s32</a> *total_out);</div>
<div class="line"><a id="l00291" name="l00291"></a><span class="lineno"> 291</span><span class="comment"></span> </div>
<div class="line"><a id="l00292" name="l00292"></a><span class="lineno"> 292</span><span class="comment">/**</span></div>
<div class="line"><a id="l00293" name="l00293"></a><span class="lineno"> 293</span><span class="comment"> * @brief Gets a list of \ref PdmAccountPlayEvent.</span></div>
<div class="line"><a id="l00294" name="l00294"></a><span class="lineno"> 294</span><span class="comment"> * @note Only available with [4.0.0+].</span></div>
<div class="line"><a id="l00295" name="l00295"></a><span class="lineno"> 295</span><span class="comment"> * @param[in] entry_index Start entry index.</span></div>
<div class="line"><a id="l00296" name="l00296"></a><span class="lineno"> 296</span><span class="comment"> * @param[in] uid \ref AccountUid</span></div>
<div class="line"><a id="l00297" name="l00297"></a><span class="lineno"> 297</span><span class="comment"> * @param[out] events Output \ref PdmAccountPlayEvent array.</span></div>
<div class="line"><a id="l00298" name="l00298"></a><span class="lineno"> 298</span><span class="comment"> * @param[in] count Max entries in the output array.</span></div>
<div class="line"><a id="l00299" name="l00299"></a><span class="lineno"> 299</span><span class="comment"> * @param[out] total_out Total output entries.</span></div>
<div class="line"><a id="l00300" name="l00300"></a><span class="lineno"> 300</span><span class="comment"> */</span></div>
<div class="line"><a id="l00301" name="l00301"></a><span class="lineno"><a class="line" href="pdm_8h.html#a5c715d06e113e5195faa4b0d5427ece3"> 301</a></span><a class="code hl_typedef" href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a> <a class="code hl_function" href="pdm_8h.html#a5c715d06e113e5195faa4b0d5427ece3">pdmqryQueryAccountPlayEvent</a>(<a class="code hl_typedef" href="types_8h.html#ae9b1af5c037e57a98884758875d3a7c4">s32</a> entry_index, <a class="code hl_struct" href="structAccountUid.html">AccountUid</a> uid, <a class="code hl_struct" href="structPdmAccountPlayEvent.html">PdmAccountPlayEvent</a> *events, <a class="code hl_typedef" href="types_8h.html#ae9b1af5c037e57a98884758875d3a7c4">s32</a> count, <a class="code hl_typedef" href="types_8h.html#ae9b1af5c037e57a98884758875d3a7c4">s32</a> *total_out);</div>
<div class="line"><a id="l00302" name="l00302"></a><span class="lineno"> 302</span><span class="comment"></span> </div>
<div class="line"><a id="l00303" name="l00303"></a><span class="lineno"> 303</span><span class="comment">/**</span></div>
<div class="line"><a id="l00304" name="l00304"></a><span class="lineno"> 304</span><span class="comment"> * @brief Gets range fields which can then be used with \ref pdmqryQueryAccountPlayEvent.</span></div>
<div class="line"><a id="l00305" name="l00305"></a><span class="lineno"> 305</span><span class="comment"> * @param[in] uid \ref AccountUid</span></div>
<div class="line"><a id="l00306" name="l00306"></a><span class="lineno"> 306</span><span class="comment"> * @param[out] total_entries Total entries.</span></div>
<div class="line"><a id="l00307" name="l00307"></a><span class="lineno"> 307</span><span class="comment"> * @param[out] start_entry_index Start entry index.</span></div>
<div class="line"><a id="l00308" name="l00308"></a><span class="lineno"> 308</span><span class="comment"> * @param[out] end_entry_index End entry index.</span></div>
<div class="line"><a id="l00309" name="l00309"></a><span class="lineno"> 309</span><span class="comment"> */</span></div>
<div class="line"><a id="l00310" name="l00310"></a><span class="lineno"><a class="line" href="pdm_8h.html#af9b9b48b84dbb4ce43686c1c99de7b6f"> 310</a></span><a class="code hl_typedef" href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a> <a class="code hl_function" href="pdm_8h.html#af9b9b48b84dbb4ce43686c1c99de7b6f">pdmqryGetAvailableAccountPlayEventRange</a>(<a class="code hl_struct" href="structAccountUid.html">AccountUid</a> uid, <a class="code hl_typedef" href="types_8h.html#ae9b1af5c037e57a98884758875d3a7c4">s32</a> *total_entries, <a class="code hl_typedef" href="types_8h.html#ae9b1af5c037e57a98884758875d3a7c4">s32</a> *start_entry_index, <a class="code hl_typedef" href="types_8h.html#ae9b1af5c037e57a98884758875d3a7c4">s32</a> *end_entry_index);</div>
<div class="line"><a id="l00311" name="l00311"></a><span class="lineno"> 311</span><span class="comment"></span> </div>
<div class="line"><a id="l00312" name="l00312"></a><span class="lineno"> 312</span><span class="comment">/**</span></div>
<div class="line"><a id="l00313" name="l00313"></a><span class="lineno"> 313</span><span class="comment"> * @brief Gets a list of applications played by the specified user.</span></div>
<div class="line"><a id="l00314" name="l00314"></a><span class="lineno"> 314</span><span class="comment"> * @note Only available with [6.0.0-14.1.2].</span></div>
<div class="line"><a id="l00315" name="l00315"></a><span class="lineno"> 315</span><span class="comment"> * @param[in] uid \ref AccountUid</span></div>
<div class="line"><a id="l00316" name="l00316"></a><span class="lineno"> 316</span><span class="comment"> * @param[in] flag [10.0.0+] Whether to additionally allow using entries with ::PdmPlayLogPolicy_Unknown3.</span></div>
<div class="line"><a id="l00317" name="l00317"></a><span class="lineno"> 317</span><span class="comment"> * @param[out] application_ids Output ApplicationIds array.</span></div>
<div class="line"><a id="l00318" name="l00318"></a><span class="lineno"> 318</span><span class="comment"> * @param[in] count Max entries in the output array.</span></div>
<div class="line"><a id="l00319" name="l00319"></a><span class="lineno"> 319</span><span class="comment"> * @param[out] total_out Total output entries.</span></div>
<div class="line"><a id="l00320" name="l00320"></a><span class="lineno"> 320</span><span class="comment"> */</span></div>
<div class="line"><a id="l00321" name="l00321"></a><span class="lineno"><a class="line" href="pdm_8h.html#a4e530bcfed99488495e924b010fa76e4"> 321</a></span><a class="code hl_typedef" href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a> <a class="code hl_function" href="pdm_8h.html#a4e530bcfed99488495e924b010fa76e4">pdmqryQueryRecentlyPlayedApplication</a>(<a class="code hl_struct" href="structAccountUid.html">AccountUid</a> uid, <span class="keywordtype">bool</span> flag, <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> *application_ids, <a class="code hl_typedef" href="types_8h.html#ae9b1af5c037e57a98884758875d3a7c4">s32</a> count, <a class="code hl_typedef" href="types_8h.html#ae9b1af5c037e57a98884758875d3a7c4">s32</a> *total_out);</div>
<div class="line"><a id="l00322" name="l00322"></a><span class="lineno"> 322</span><span class="comment"></span> </div>
<div class="line"><a id="l00323" name="l00323"></a><span class="lineno"> 323</span><span class="comment">/**</span></div>
<div class="line"><a id="l00324" name="l00324"></a><span class="lineno"> 324</span><span class="comment"> * @brief Gets an Event which is signaled when logging a new \ref PdmPlayEvent which would be available via \ref pdmqryQueryAccountEvent, where PdmPlayEvent::event_data::account::type is 0.</span></div>
<div class="line"><a id="l00325" name="l00325"></a><span class="lineno"> 325</span><span class="comment"> * @note Only available with [6.0.0-14.1.2].</span></div>
<div class="line"><a id="l00326" name="l00326"></a><span class="lineno"> 326</span><span class="comment"> * @note The Event must be closed by the user once finished with it.</span></div>
<div class="line"><a id="l00327" name="l00327"></a><span class="lineno"> 327</span><span class="comment"> * @param[out] out_event Output Event with autoclear=false.</span></div>
<div class="line"><a id="l00328" name="l00328"></a><span class="lineno"> 328</span><span class="comment"> */</span></div>
<div class="line"><a id="l00329" name="l00329"></a><span class="lineno"><a class="line" href="pdm_8h.html#ae82f7e9b7169831562928bb96f748c29"> 329</a></span><a class="code hl_typedef" href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a> <a class="code hl_function" href="pdm_8h.html#ae82f7e9b7169831562928bb96f748c29">pdmqryGetRecentlyPlayedApplicationUpdateEvent</a>(<a class="code hl_struct" href="structEvent.html">Event</a>* out_event);</div>
<div class="line"><a id="l00330" name="l00330"></a><span class="lineno"> 330</span><span class="comment"></span> </div>
<div class="line"><a id="l00331" name="l00331"></a><span class="lineno"> 331</span><span class="comment">/**</span></div>
<div class="line"><a id="l00332" name="l00332"></a><span class="lineno"> 332</span><span class="comment"> * @brief Helper function which converts a Play timestamp from the Pdm*Event structs to POSIX.</span></div>
<div class="line"><a id="l00333" name="l00333"></a><span class="lineno"> 333</span><span class="comment"> * @param[in] timestamp Input timestamp.</span></div>
<div class="line"><a id="l00334" name="l00334"></a><span class="lineno"> 334</span><span class="comment"> */</span></div>
<div class="foldopen" id="foldopen00335" data-start="{" data-end="}">
<div class="line"><a id="l00335" name="l00335"></a><span class="lineno"><a class="line" href="pdm_8h.html#a33abc7d65e7146dc5f4634bd435bc704"> 335</a></span><span class="keyword">static</span> <span class="keyword">inline</span> <a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a> <a class="code hl_function" href="pdm_8h.html#a33abc7d65e7146dc5f4634bd435bc704">pdmPlayTimestampToPosix</a>(<a class="code hl_typedef" href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a> timestamp) {</div>
<div class="line"><a id="l00336" name="l00336"></a><span class="lineno"> 336</span> <span class="keywordflow">return</span> ((<a class="code hl_typedef" href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a>)timestamp) * 60 + 946598400;</div>
<div class="line"><a id="l00337" name="l00337"></a><span class="lineno"> 337</span>}</div>
</div>
<div class="line"><a id="l00338" name="l00338"></a><span class="lineno"> 338</span> </div>
<div class="ttc" id="apdm_8h_html_a0e2695efbf1d8aac1c97174224fdf110"><div class="ttname"><a href="pdm_8h.html#a0e2695efbf1d8aac1c97174224fdf110">pdmqryInitialize</a></div><div class="ttdeci">Result pdmqryInitialize(void)</div><div class="ttdoc">Initialize pdm:qry.</div></div>
<div class="ttc" id="apdm_8h_html_a28b8288e0206f81c715c5deb4b623e6f"><div class="ttname"><a href="pdm_8h.html#a28b8288e0206f81c715c5deb4b623e6f">PdmPlayEventType</a></div><div class="ttdeci">PdmPlayEventType</div><div class="ttdoc">PlayEventType.</div><div class="ttdef"><b>Definition</b> pdm.h:14</div></div>
<div class="ttc" id="apdm_8h_html_a28b8288e0206f81c715c5deb4b623e6fa29454ed984f5230d7a4bdae0f8cda196"><div class="ttname"><a href="pdm_8h.html#a28b8288e0206f81c715c5deb4b623e6fa29454ed984f5230d7a4bdae0f8cda196">PdmPlayEventType_Account</a></div><div class="ttdeci">@ PdmPlayEventType_Account</div><div class="ttdoc">Account.</div><div class="ttdef"><b>Definition</b> pdm.h:16</div></div>
<div class="ttc" id="apdm_8h_html_a28b8288e0206f81c715c5deb4b623e6fa5ceedb719bdcbfaac73774221f77ab22"><div class="ttname"><a href="pdm_8h.html#a28b8288e0206f81c715c5deb4b623e6fa5ceedb719bdcbfaac73774221f77ab22">PdmPlayEventType_PowerStateChange</a></div><div class="ttdeci">@ PdmPlayEventType_PowerStateChange</div><div class="ttdoc">PowerStateChange.</div><div class="ttdef"><b>Definition</b> pdm.h:17</div></div>
<div class="ttc" id="apdm_8h_html_a28b8288e0206f81c715c5deb4b623e6faa6e89b59f9ef045d506d434e842e559d"><div class="ttname"><a href="pdm_8h.html#a28b8288e0206f81c715c5deb4b623e6faa6e89b59f9ef045d506d434e842e559d">PdmPlayEventType_Applet</a></div><div class="ttdeci">@ PdmPlayEventType_Applet</div><div class="ttdoc">Applet.</div><div class="ttdef"><b>Definition</b> pdm.h:15</div></div>
<div class="ttc" id="apdm_8h_html_a28b8288e0206f81c715c5deb4b623e6faec4d55c0fd3ae73a66cbe66c4d60921a"><div class="ttname"><a href="pdm_8h.html#a28b8288e0206f81c715c5deb4b623e6faec4d55c0fd3ae73a66cbe66c4d60921a">PdmPlayEventType_Initialize</a></div><div class="ttdeci">@ PdmPlayEventType_Initialize</div><div class="ttdoc">Initialize. Used for the very first PlayEvent entry in the log.</div><div class="ttdef"><b>Definition</b> pdm.h:19</div></div>
<div class="ttc" id="apdm_8h_html_a28b8288e0206f81c715c5deb4b623e6faf7ebf814bdd025c6d03fe35972a693fb"><div class="ttname"><a href="pdm_8h.html#a28b8288e0206f81c715c5deb4b623e6faf7ebf814bdd025c6d03fe35972a693fb">PdmPlayEventType_OperationModeChange</a></div><div class="ttdeci">@ PdmPlayEventType_OperationModeChange</div><div class="ttdoc">OperationModeChange.</div><div class="ttdef"><b>Definition</b> pdm.h:18</div></div>
<div class="ttc" id="apdm_8h_html_a33abc7d65e7146dc5f4634bd435bc704"><div class="ttname"><a href="pdm_8h.html#a33abc7d65e7146dc5f4634bd435bc704">pdmPlayTimestampToPosix</a></div><div class="ttdeci">static u64 pdmPlayTimestampToPosix(u32 timestamp)</div><div class="ttdoc">Helper function which converts a Play timestamp from the Pdm*Event structs to POSIX.</div><div class="ttdef"><b>Definition</b> pdm.h:335</div></div>
<div class="ttc" id="apdm_8h_html_a4e530bcfed99488495e924b010fa76e4"><div class="ttname"><a href="pdm_8h.html#a4e530bcfed99488495e924b010fa76e4">pdmqryQueryRecentlyPlayedApplication</a></div><div class="ttdeci">Result pdmqryQueryRecentlyPlayedApplication(AccountUid uid, bool flag, u64 *application_ids, s32 count, s32 *total_out)</div><div class="ttdoc">Gets a list of applications played by the specified user.</div></div>
<div class="ttc" id="apdm_8h_html_a531d764710de2afe6682c8839538d956"><div class="ttname"><a href="pdm_8h.html#a531d764710de2afe6682c8839538d956">pdmqryQueryPlayStatisticsByApplicationId</a></div><div class="ttdeci">Result pdmqryQueryPlayStatisticsByApplicationId(u64 application_id, bool flag, PdmPlayStatistics *stats)</div><div class="ttdoc">Gets PdmPlayStatistics for the specified ApplicationId.</div></div>
<div class="ttc" id="apdm_8h_html_a5c715d06e113e5195faa4b0d5427ece3"><div class="ttname"><a href="pdm_8h.html#a5c715d06e113e5195faa4b0d5427ece3">pdmqryQueryAccountPlayEvent</a></div><div class="ttdeci">Result pdmqryQueryAccountPlayEvent(s32 entry_index, AccountUid uid, PdmAccountPlayEvent *events, s32 count, s32 *total_out)</div><div class="ttdoc">Gets a list of PdmAccountPlayEvent.</div></div>
<div class="ttc" id="apdm_8h_html_a7a1e8d7c22c3ecdc7e2ab582a0e027b8"><div class="ttname"><a href="pdm_8h.html#a7a1e8d7c22c3ecdc7e2ab582a0e027b8">pdmqryQueryPlayStatisticsByApplicationIdAndUserAccountId</a></div><div class="ttdeci">Result pdmqryQueryPlayStatisticsByApplicationIdAndUserAccountId(u64 application_id, AccountUid uid, bool flag, PdmPlayStatistics *stats)</div><div class="ttdoc">Gets PdmPlayStatistics for the specified ApplicationId and account userId.</div></div>
<div class="ttc" id="apdm_8h_html_a7d9ae48c750554d47ee2b111dce7f912"><div class="ttname"><a href="pdm_8h.html#a7d9ae48c750554d47ee2b111dce7f912">pdmqryGetServiceSession</a></div><div class="ttdeci">Service * pdmqryGetServiceSession(void)</div><div class="ttdoc">Gets the Service object for the actual pdm:qry service session.</div></div>
<div class="ttc" id="apdm_8h_html_a8051c6ce6c58eef3a887094a2f801df3"><div class="ttname"><a href="pdm_8h.html#a8051c6ce6c58eef3a887094a2f801df3">pdmqryQueryLastPlayTime</a></div><div class="ttdeci">Result pdmqryQueryLastPlayTime(bool flag, PdmLastPlayTime *playtimes, const u64 *application_ids, s32 count, s32 *total_out)</div><div class="ttdoc">Gets PdmLastPlayTime for the specified applications.</div></div>
<div class="ttc" id="apdm_8h_html_a95facf806d70dacd8d22bb7e129365b4"><div class="ttname"><a href="pdm_8h.html#a95facf806d70dacd8d22bb7e129365b4">pdmqryQueryPlayEvent</a></div><div class="ttdeci">Result pdmqryQueryPlayEvent(s32 entry_index, PdmPlayEvent *events, s32 count, s32 *total_out)</div><div class="ttdoc">Gets a list of PdmPlayEvent.</div></div>
<div class="ttc" id="apdm_8h_html_a9cbeea5bef5da150e12840d51b8874b8"><div class="ttname"><a href="pdm_8h.html#a9cbeea5bef5da150e12840d51b8874b8">pdmqryGetAvailablePlayEventRange</a></div><div class="ttdeci">Result pdmqryGetAvailablePlayEventRange(s32 *total_entries, s32 *start_entry_index, s32 *end_entry_index)</div><div class="ttdoc">Gets range fields which can then be used with the other pdmqry funcs, except for pdmqryQueryAccountPl...</div></div>
<div class="ttc" id="apdm_8h_html_a9e1850882c6a923403f5a9e650fd2e82"><div class="ttname"><a href="pdm_8h.html#a9e1850882c6a923403f5a9e650fd2e82">pdmqryQueryAppletEvent</a></div><div class="ttdeci">Result pdmqryQueryAppletEvent(s32 entry_index, bool flag, PdmAppletEvent *events, s32 count, s32 *total_out)</div><div class="ttdoc">Gets a list of PdmAppletEvent.</div></div>
<div class="ttc" id="apdm_8h_html_aa04ee695cd580dfbe78cdfc307244106"><div class="ttname"><a href="pdm_8h.html#aa04ee695cd580dfbe78cdfc307244106">pdmqryQueryAccountEvent</a></div><div class="ttdeci">Result pdmqryQueryAccountEvent(s32 entry_index, PdmAccountEvent *events, s32 count, s32 *total_out)</div><div class="ttdoc">Gets a list of PdmAccountEvent.</div></div>
<div class="ttc" id="apdm_8h_html_ac7d61c1eeea64b80cc1d2ba1a7b2d07e"><div class="ttname"><a href="pdm_8h.html#ac7d61c1eeea64b80cc1d2ba1a7b2d07e">pdmqryExit</a></div><div class="ttdeci">void pdmqryExit(void)</div><div class="ttdoc">Exit pdm:qry.</div></div>
<div class="ttc" id="apdm_8h_html_ae82f7e9b7169831562928bb96f748c29"><div class="ttname"><a href="pdm_8h.html#ae82f7e9b7169831562928bb96f748c29">pdmqryGetRecentlyPlayedApplicationUpdateEvent</a></div><div class="ttdeci">Result pdmqryGetRecentlyPlayedApplicationUpdateEvent(Event *out_event)</div><div class="ttdoc">Gets an Event which is signaled when logging a new PdmPlayEvent which would be available via pdmqryQu...</div></div>
<div class="ttc" id="apdm_8h_html_af9b9b48b84dbb4ce43686c1c99de7b6f"><div class="ttname"><a href="pdm_8h.html#af9b9b48b84dbb4ce43686c1c99de7b6f">pdmqryGetAvailableAccountPlayEventRange</a></div><div class="ttdeci">Result pdmqryGetAvailableAccountPlayEventRange(AccountUid uid, s32 *total_entries, s32 *start_entry_index, s32 *end_entry_index)</div><div class="ttdoc">Gets range fields which can then be used with pdmqryQueryAccountPlayEvent.</div></div>
<div class="ttc" id="apdm_8h_html_afc90e227c29d9301bbb60fd189761095"><div class="ttname"><a href="pdm_8h.html#afc90e227c29d9301bbb60fd189761095">PdmPlayLogPolicy</a></div><div class="ttdeci">PdmPlayLogPolicy</div><div class="ttdoc">PlayLogPolicy.</div><div class="ttdef"><b>Definition</b> pdm.h:34</div></div>
<div class="ttc" id="apdm_8h_html_afc90e227c29d9301bbb60fd189761095a156d07bb7094865df849974a759eba2a"><div class="ttname"><a href="pdm_8h.html#afc90e227c29d9301bbb60fd189761095a156d07bb7094865df849974a759eba2a">PdmPlayLogPolicy_All</a></div><div class="ttdeci">@ PdmPlayLogPolicy_All</div><div class="ttdoc">All pdm:qry commands which require PdmPlayEventType_Applet and AppletId = Application will only retur...</div><div class="ttdef"><b>Definition</b> pdm.h:35</div></div>
<div class="ttc" id="apdm_8h_html_afc90e227c29d9301bbb60fd189761095a1829caad879184f203f52ebf67b92ccf"><div class="ttname"><a href="pdm_8h.html#afc90e227c29d9301bbb60fd189761095a1829caad879184f203f52ebf67b92ccf">PdmPlayLogPolicy_Unknown3</a></div><div class="ttdeci">@ PdmPlayLogPolicy_Unknown3</div><div class="ttdoc">[10.0.0+] The cmds which require PdmPlayLogPolicy_All, now also allow value 3 if the cmd input flag i...</div><div class="ttdef"><b>Definition</b> pdm.h:38</div></div>
<div class="ttc" id="apdm_8h_html_afc90e227c29d9301bbb60fd189761095a9d7e7e291a86caa954dc633315b915c8"><div class="ttname"><a href="pdm_8h.html#afc90e227c29d9301bbb60fd189761095a9d7e7e291a86caa954dc633315b915c8">PdmPlayLogPolicy_LogOnly</a></div><div class="ttdeci">@ PdmPlayLogPolicy_LogOnly</div><div class="ttdoc">The above commands will filter out the entry with this.</div><div class="ttdef"><b>Definition</b> pdm.h:36</div></div>
<div class="ttc" id="apdm_8h_html_afc90e227c29d9301bbb60fd189761095aa6128ed3c08e9c8427c8d0f40958bdcc"><div class="ttname"><a href="pdm_8h.html#afc90e227c29d9301bbb60fd189761095aa6128ed3c08e9c8427c8d0f40958bdcc">PdmPlayLogPolicy_None</a></div><div class="ttdeci">@ PdmPlayLogPolicy_None</div><div class="ttdoc">The pdm:ntfy commands which handle PdmPlayEventType_Applet logging will immediately return 0 when the...</div><div class="ttdef"><b>Definition</b> pdm.h:37</div></div>
<div class="ttc" id="apdm_8h_html_afd65db9b9e16a41fdefd61980a8c2fbe"><div class="ttname"><a href="pdm_8h.html#afd65db9b9e16a41fdefd61980a8c2fbe">PdmAppletEventType</a></div><div class="ttdeci">PdmAppletEventType</div><div class="ttdoc">AppletEventType.</div><div class="ttdef"><b>Definition</b> pdm.h:23</div></div>
<div class="ttc" id="apdm_8h_html_afd65db9b9e16a41fdefd61980a8c2fbea06c085b2ab7f1903849a29f115da6527"><div class="ttname"><a href="pdm_8h.html#afd65db9b9e16a41fdefd61980a8c2fbea06c085b2ab7f1903849a29f115da6527">PdmAppletEventType_Exit5</a></div><div class="ttdeci">@ PdmAppletEventType_Exit5</div><div class="ttdoc">&quot;exit&quot;</div><div class="ttdef"><b>Definition</b> pdm.h:29</div></div>
<div class="ttc" id="apdm_8h_html_afd65db9b9e16a41fdefd61980a8c2fbea0dbdced13e0f7c0ac7d1966859e289bd"><div class="ttname"><a href="pdm_8h.html#afd65db9b9e16a41fdefd61980a8c2fbea0dbdced13e0f7c0ac7d1966859e289bd">PdmAppletEventType_OutOfFocus4</a></div><div class="ttdeci">@ PdmAppletEventType_OutOfFocus4</div><div class="ttdoc">&quot;out_of_focus&quot;</div><div class="ttdef"><b>Definition</b> pdm.h:28</div></div>
<div class="ttc" id="apdm_8h_html_afd65db9b9e16a41fdefd61980a8c2fbea12546673e09a6f8c0b2171bad0efacce"><div class="ttname"><a href="pdm_8h.html#afd65db9b9e16a41fdefd61980a8c2fbea12546673e09a6f8c0b2171bad0efacce">PdmAppletEventType_Exit6</a></div><div class="ttdeci">@ PdmAppletEventType_Exit6</div><div class="ttdoc">&quot;exit&quot;</div><div class="ttdef"><b>Definition</b> pdm.h:30</div></div>
<div class="ttc" id="apdm_8h_html_afd65db9b9e16a41fdefd61980a8c2fbea44feee6635f46aefa1429fbe7cf53fc3"><div class="ttname"><a href="pdm_8h.html#afd65db9b9e16a41fdefd61980a8c2fbea44feee6635f46aefa1429fbe7cf53fc3">PdmAppletEventType_Launch</a></div><div class="ttdeci">@ PdmAppletEventType_Launch</div><div class="ttdoc">&quot;launch&quot;</div><div class="ttdef"><b>Definition</b> pdm.h:24</div></div>
<div class="ttc" id="apdm_8h_html_afd65db9b9e16a41fdefd61980a8c2fbea479e5e85c9bbc06e135fc416e3e3c5fe"><div class="ttname"><a href="pdm_8h.html#afd65db9b9e16a41fdefd61980a8c2fbea479e5e85c9bbc06e135fc416e3e3c5fe">PdmAppletEventType_Exit</a></div><div class="ttdeci">@ PdmAppletEventType_Exit</div><div class="ttdoc">&quot;exit&quot;</div><div class="ttdef"><b>Definition</b> pdm.h:25</div></div>
<div class="ttc" id="apdm_8h_html_afd65db9b9e16a41fdefd61980a8c2fbea9179f890b63bf9ee53a9569ec15d8f9f"><div class="ttname"><a href="pdm_8h.html#afd65db9b9e16a41fdefd61980a8c2fbea9179f890b63bf9ee53a9569ec15d8f9f">PdmAppletEventType_InFocus</a></div><div class="ttdeci">@ PdmAppletEventType_InFocus</div><div class="ttdoc">&quot;in_focus&quot;</div><div class="ttdef"><b>Definition</b> pdm.h:26</div></div>
<div class="ttc" id="apdm_8h_html_afd65db9b9e16a41fdefd61980a8c2fbeac4240e3d6a50a0a28340759edbc7a1c4"><div class="ttname"><a href="pdm_8h.html#afd65db9b9e16a41fdefd61980a8c2fbeac4240e3d6a50a0a28340759edbc7a1c4">PdmAppletEventType_OutOfFocus</a></div><div class="ttdeci">@ PdmAppletEventType_OutOfFocus</div><div class="ttdoc">&quot;out_of_focus&quot;</div><div class="ttdef"><b>Definition</b> pdm.h:27</div></div>
<div class="ttc" id="astructAccountUid_html"><div class="ttname"><a href="structAccountUid.html">AccountUid</a></div><div class="ttdoc">Account UserId.</div><div class="ttdef"><b>Definition</b> acc.h:25</div></div>
<div class="ttc" id="astructEvent_html"><div class="ttname"><a href="structEvent.html">Event</a></div><div class="ttdoc">Kernel-mode event structure.</div><div class="ttdef"><b>Definition</b> event.h:13</div></div>
<div class="ttc" id="astructPdmAccountEventV10_html"><div class="ttname"><a href="structPdmAccountEventV10.html">PdmAccountEventV10</a></div><div class="ttdoc">AccountEventV10. AccountEvent for [10.0.0-15.0.1], converted to PdmAccountEvent when needed.</div><div class="ttdef"><b>Definition</b> pdm.h:178</div></div>
<div class="ttc" id="astructPdmAccountEventV10_html_a6007ddbc76e46d10672b090d547c7a2a"><div class="ttname"><a href="structPdmAccountEventV10.html#a6007ddbc76e46d10672b090d547c7a2a">PdmAccountEventV10::type</a></div><div class="ttdeci">u8 type</div><div class="ttdoc">See PdmPlayEvent::event_data::account::type.</div><div class="ttdef"><b>Definition</b> pdm.h:186</div></div>
<div class="ttc" id="astructPdmAccountEventV10_html_a833e5af9bff09eb8978990e8795d8798"><div class="ttname"><a href="structPdmAccountEventV10.html#a833e5af9bff09eb8978990e8795d8798">PdmAccountEventV10::entry_index</a></div><div class="ttdeci">u32 entry_index</div><div class="ttdoc">Entry index.</div><div class="ttdef"><b>Definition</b> pdm.h:181</div></div>
<div class="ttc" id="astructPdmAccountEventV10_html_a9ab0c908167e0bad409fa4bf2860db7e"><div class="ttname"><a href="structPdmAccountEventV10.html#a9ab0c908167e0bad409fa4bf2860db7e">PdmAccountEventV10::program_id</a></div><div class="ttdeci">u64 program_id</div><div class="ttdoc">ProgramId.</div><div class="ttdef"><b>Definition</b> pdm.h:180</div></div>
<div class="ttc" id="astructPdmAccountEventV10_html_aab26303852423ce96be850ac9fc780e5"><div class="ttname"><a href="structPdmAccountEventV10.html#aab26303852423ce96be850ac9fc780e5">PdmAccountEventV10::timestamp_steady</a></div><div class="ttdeci">u64 timestamp_steady</div><div class="ttdoc">See PdmPlayEvent::timestamp_steady.</div><div class="ttdef"><b>Definition</b> pdm.h:185</div></div>
<div class="ttc" id="astructPdmAccountEventV10_html_aad11ab8487739c9a27f414fa7a55d257"><div class="ttname"><a href="structPdmAccountEventV10.html#aad11ab8487739c9a27f414fa7a55d257">PdmAccountEventV10::timestamp_network</a></div><div class="ttdeci">u64 timestamp_network</div><div class="ttdoc">See PdmPlayEvent::timestamp_network.</div><div class="ttdef"><b>Definition</b> pdm.h:184</div></div>
<div class="ttc" id="astructPdmAccountEventV10_html_af5baf06e151533fab740f7b7f49e0b69"><div class="ttname"><a href="structPdmAccountEventV10.html#af5baf06e151533fab740f7b7f49e0b69">PdmAccountEventV10::uid</a></div><div class="ttdeci">AccountUid uid</div><div class="ttdoc">AccountUid</div><div class="ttdef"><b>Definition</b> pdm.h:179</div></div>
<div class="ttc" id="astructPdmAccountEventV10_html_afd937897a132e549ecb0e67877fefa22"><div class="ttname"><a href="structPdmAccountEventV10.html#afd937897a132e549ecb0e67877fefa22">PdmAccountEventV10::timestamp_user</a></div><div class="ttdeci">u64 timestamp_user</div><div class="ttdoc">See PdmPlayEvent::timestamp_user.</div><div class="ttdef"><b>Definition</b> pdm.h:183</div></div>
<div class="ttc" id="astructPdmAccountEventV3_html"><div class="ttname"><a href="structPdmAccountEventV3.html">PdmAccountEventV3</a></div><div class="ttdoc">AccountEventV3. AccountEvent for [3.0.0-9.2.0], converted to PdmAccountEvent when needed.</div><div class="ttdef"><b>Definition</b> pdm.h:166</div></div>
<div class="ttc" id="astructPdmAccountEventV3_html_a11a5886340fddfc8a33800365c85b198"><div class="ttname"><a href="structPdmAccountEventV3.html#a11a5886340fddfc8a33800365c85b198">PdmAccountEventV3::uid</a></div><div class="ttdeci">AccountUid uid</div><div class="ttdoc">AccountUid</div><div class="ttdef"><b>Definition</b> pdm.h:167</div></div>
<div class="ttc" id="astructPdmAccountEventV3_html_a6aecf86587d5679bfe9b98569afdc292"><div class="ttname"><a href="structPdmAccountEventV3.html#a6aecf86587d5679bfe9b98569afdc292">PdmAccountEventV3::timestamp_steady</a></div><div class="ttdeci">u64 timestamp_steady</div><div class="ttdoc">See PdmPlayEvent::timestamp_steady.</div><div class="ttdef"><b>Definition</b> pdm.h:172</div></div>
<div class="ttc" id="astructPdmAccountEventV3_html_a85857a1aff07fbd11229b7a329ba7268"><div class="ttname"><a href="structPdmAccountEventV3.html#a85857a1aff07fbd11229b7a329ba7268">PdmAccountEventV3::timestamp_network</a></div><div class="ttdeci">u64 timestamp_network</div><div class="ttdoc">See PdmPlayEvent::timestamp_network.</div><div class="ttdef"><b>Definition</b> pdm.h:171</div></div>
<div class="ttc" id="astructPdmAccountEventV3_html_a8eb6c1df7a1b31d4bcf30609e2e7da17"><div class="ttname"><a href="structPdmAccountEventV3.html#a8eb6c1df7a1b31d4bcf30609e2e7da17">PdmAccountEventV3::type</a></div><div class="ttdeci">u8 type</div><div class="ttdoc">See PdmPlayEvent::event_data::account::type.</div><div class="ttdef"><b>Definition</b> pdm.h:173</div></div>
<div class="ttc" id="astructPdmAccountEventV3_html_a908145413d9f467804883dfc81692ea3"><div class="ttname"><a href="structPdmAccountEventV3.html#a908145413d9f467804883dfc81692ea3">PdmAccountEventV3::entry_index</a></div><div class="ttdeci">u32 entry_index</div><div class="ttdoc">Entry index.</div><div class="ttdef"><b>Definition</b> pdm.h:168</div></div>
<div class="ttc" id="astructPdmAccountEventV3_html_ae2fd48ac9e3a505a540c7f0d8bf7d775"><div class="ttname"><a href="structPdmAccountEventV3.html#ae2fd48ac9e3a505a540c7f0d8bf7d775">PdmAccountEventV3::timestamp_user</a></div><div class="ttdeci">u64 timestamp_user</div><div class="ttdoc">See PdmPlayEvent::timestamp_user.</div><div class="ttdef"><b>Definition</b> pdm.h:170</div></div>
<div class="ttc" id="astructPdmAccountEvent_html"><div class="ttname"><a href="structPdmAccountEvent.html">PdmAccountEvent</a></div><div class="ttdoc">AccountEvent. AccountEvent for [16.0.0+], converted from the older structs when needed.</div><div class="ttdef"><b>Definition</b> pdm.h:191</div></div>
<div class="ttc" id="astructPdmAccountEvent_html_a110fd84c5b9c9ed8aa51854282be7655"><div class="ttname"><a href="structPdmAccountEvent.html#a110fd84c5b9c9ed8aa51854282be7655">PdmAccountEvent::timestamp_network</a></div><div class="ttdeci">u64 timestamp_network</div><div class="ttdoc">See PdmPlayEvent::timestamp_network.</div><div class="ttdef"><b>Definition</b> pdm.h:197</div></div>
<div class="ttc" id="astructPdmAccountEvent_html_a15b0a58160cd919d3d6606bf422602f1"><div class="ttname"><a href="structPdmAccountEvent.html#a15b0a58160cd919d3d6606bf422602f1">PdmAccountEvent::entry_index</a></div><div class="ttdeci">u32 entry_index</div><div class="ttdoc">Entry index.</div><div class="ttdef"><b>Definition</b> pdm.h:194</div></div>
<div class="ttc" id="astructPdmAccountEvent_html_a4b35dc410c05be025022ab64f6cf0e6c"><div class="ttname"><a href="structPdmAccountEvent.html#a4b35dc410c05be025022ab64f6cf0e6c">PdmAccountEvent::type</a></div><div class="ttdeci">u8 type</div><div class="ttdoc">See PdmPlayEvent::event_data::account::type.</div><div class="ttdef"><b>Definition</b> pdm.h:198</div></div>
<div class="ttc" id="astructPdmAccountEvent_html_a73e04c4af87bf278746a6ca89ac7442f"><div class="ttname"><a href="structPdmAccountEvent.html#a73e04c4af87bf278746a6ca89ac7442f">PdmAccountEvent::timestamp_user</a></div><div class="ttdeci">u64 timestamp_user</div><div class="ttdoc">See PdmPlayEvent::timestamp_user.</div><div class="ttdef"><b>Definition</b> pdm.h:196</div></div>
<div class="ttc" id="astructPdmAccountEvent_html_a95152778f81e93490130595d0ea57006"><div class="ttname"><a href="structPdmAccountEvent.html#a95152778f81e93490130595d0ea57006">PdmAccountEvent::program_id</a></div><div class="ttdeci">u64 program_id</div><div class="ttdoc">[10.0.0+] ProgramId</div><div class="ttdef"><b>Definition</b> pdm.h:193</div></div>
<div class="ttc" id="astructPdmAccountEvent_html_aff1abfb26846f3f069fd3eb32c65040b"><div class="ttname"><a href="structPdmAccountEvent.html#aff1abfb26846f3f069fd3eb32c65040b">PdmAccountEvent::uid</a></div><div class="ttdeci">AccountUid uid</div><div class="ttdoc">AccountUid</div><div class="ttdef"><b>Definition</b> pdm.h:192</div></div>
<div class="ttc" id="astructPdmAccountPlayEvent_html"><div class="ttname"><a href="structPdmAccountPlayEvent.html">PdmAccountPlayEvent</a></div><div class="ttdoc">AccountPlayEvent.</div><div class="ttdef"><b>Definition</b> pdm.h:204</div></div>
<div class="ttc" id="astructPdmAccountPlayEvent_html_a3198785c28b86049c08110cd97f117e8"><div class="ttname"><a href="structPdmAccountPlayEvent.html#a3198785c28b86049c08110cd97f117e8">PdmAccountPlayEvent::timestamp1</a></div><div class="ttdeci">u64 timestamp1</div><div class="ttdoc">POSIX timestamp.</div><div class="ttdef"><b>Definition</b> pdm.h:209</div></div>
<div class="ttc" id="astructPdmAccountPlayEvent_html_a7a41268d461d3f732a9af547cc49a62f"><div class="ttname"><a href="structPdmAccountPlayEvent.html#a7a41268d461d3f732a9af547cc49a62f">PdmAccountPlayEvent::timestamp0</a></div><div class="ttdeci">u64 timestamp0</div><div class="ttdoc">POSIX timestamp.</div><div class="ttdef"><b>Definition</b> pdm.h:208</div></div>
<div class="ttc" id="astructPdmAppletEventV1_html"><div class="ttname"><a href="structPdmAppletEventV1.html">PdmAppletEventV1</a></div><div class="ttdoc">AppletEventV1.</div><div class="ttdef"><b>Definition</b> pdm.h:44</div></div>
<div class="ttc" id="astructPdmAppletEventV1_html_a0285234f91039a93e9a7adefa3b7f9e9"><div class="ttname"><a href="structPdmAppletEventV1.html#a0285234f91039a93e9a7adefa3b7f9e9">PdmAppletEventV1::program_id</a></div><div class="ttdeci">u64 program_id</div><div class="ttdoc">ProgramId.</div><div class="ttdef"><b>Definition</b> pdm.h:45</div></div>
<div class="ttc" id="astructPdmAppletEventV1_html_a09ae199cce5eb354d721e47ba403f8d0"><div class="ttname"><a href="structPdmAppletEventV1.html#a09ae199cce5eb354d721e47ba403f8d0">PdmAppletEventV1::timestamp_user</a></div><div class="ttdeci">u32 timestamp_user</div><div class="ttdoc">See PdmPlayEvent::timestamp_user, with the above timestamp format.</div><div class="ttdef"><b>Definition</b> pdm.h:47</div></div>
<div class="ttc" id="astructPdmAppletEventV1_html_a8807883a9450b214fcb678660487f683"><div class="ttname"><a href="structPdmAppletEventV1.html#a8807883a9450b214fcb678660487f683">PdmAppletEventV1::timestamp_network</a></div><div class="ttdeci">u32 timestamp_network</div><div class="ttdoc">See PdmPlayEvent::timestamp_network, with the above timestamp format.</div><div class="ttdef"><b>Definition</b> pdm.h:48</div></div>
<div class="ttc" id="astructPdmAppletEventV1_html_a8add8c6e441efcbb23b1697083d151b4"><div class="ttname"><a href="structPdmAppletEventV1.html#a8add8c6e441efcbb23b1697083d151b4">PdmAppletEventV1::entry_index</a></div><div class="ttdeci">u32 entry_index</div><div class="ttdoc">Entry index.</div><div class="ttdef"><b>Definition</b> pdm.h:46</div></div>
<div class="ttc" id="astructPdmAppletEventV1_html_ab587948e576740617a75432781ac5f3b"><div class="ttname"><a href="structPdmAppletEventV1.html#ab587948e576740617a75432781ac5f3b">PdmAppletEventV1::event_type</a></div><div class="ttdeci">u8 event_type</div><div class="ttdoc">PdmAppletEventType</div><div class="ttdef"><b>Definition</b> pdm.h:49</div></div>
<div class="ttc" id="astructPdmAppletEvent_html"><div class="ttname"><a href="structPdmAppletEvent.html">PdmAppletEvent</a></div><div class="ttdoc">AppletEvent. AppletEvent for [16.0.0+], converted from PdmAppletEventV1 on [1.0.0-15....</div><div class="ttdef"><b>Definition</b> pdm.h:54</div></div>
<div class="ttc" id="astructPdmAppletEvent_html_a102b4f6b3922950ac2e4f001b5395ed4"><div class="ttname"><a href="structPdmAppletEvent.html#a102b4f6b3922950ac2e4f001b5395ed4">PdmAppletEvent::timestamp_user</a></div><div class="ttdeci">u64 timestamp_user</div><div class="ttdoc">See PdmPlayEvent::timestamp_user.</div><div class="ttdef"><b>Definition</b> pdm.h:58</div></div>
<div class="ttc" id="astructPdmAppletEvent_html_a4a3b4ae7cd358e3c57213454361c76c8"><div class="ttname"><a href="structPdmAppletEvent.html#a4a3b4ae7cd358e3c57213454361c76c8">PdmAppletEvent::event_type</a></div><div class="ttdeci">u8 event_type</div><div class="ttdoc">PdmAppletEventType</div><div class="ttdef"><b>Definition</b> pdm.h:60</div></div>
<div class="ttc" id="astructPdmAppletEvent_html_a6154ebd053eab9b184bdac8c588c6397"><div class="ttname"><a href="structPdmAppletEvent.html#a6154ebd053eab9b184bdac8c588c6397">PdmAppletEvent::pad</a></div><div class="ttdeci">u32 pad</div><div class="ttdoc">Padding.</div><div class="ttdef"><b>Definition</b> pdm.h:57</div></div>
<div class="ttc" id="astructPdmAppletEvent_html_a82a0fc8802d329e6a8aacb8684e1e9f1"><div class="ttname"><a href="structPdmAppletEvent.html#a82a0fc8802d329e6a8aacb8684e1e9f1">PdmAppletEvent::timestamp_network</a></div><div class="ttdeci">u64 timestamp_network</div><div class="ttdoc">See PdmPlayEvent::timestamp_network.</div><div class="ttdef"><b>Definition</b> pdm.h:59</div></div>
<div class="ttc" id="astructPdmAppletEvent_html_a9c7b338d0e7388e000d203b80bdd254d"><div class="ttname"><a href="structPdmAppletEvent.html#a9c7b338d0e7388e000d203b80bdd254d">PdmAppletEvent::entry_index</a></div><div class="ttdeci">u32 entry_index</div><div class="ttdoc">Entry index.</div><div class="ttdef"><b>Definition</b> pdm.h:56</div></div>
<div class="ttc" id="astructPdmAppletEvent_html_aed71b942be10cb3cc78d37463fe71a45"><div class="ttname"><a href="structPdmAppletEvent.html#aed71b942be10cb3cc78d37463fe71a45">PdmAppletEvent::program_id</a></div><div class="ttdeci">u64 program_id</div><div class="ttdoc">ProgramId.</div><div class="ttdef"><b>Definition</b> pdm.h:55</div></div>
<div class="ttc" id="astructPdmApplicationPlayStatistics_html"><div class="ttname"><a href="structPdmApplicationPlayStatistics.html">PdmApplicationPlayStatistics</a></div><div class="ttdoc">ApplicationPlayStatistics.</div><div class="ttdef"><b>Definition</b> pdm.h:213</div></div>
<div class="ttc" id="astructPdmApplicationPlayStatistics_html_a27978506679c36278b57ad396536b47e"><div class="ttname"><a href="structPdmApplicationPlayStatistics.html#a27978506679c36278b57ad396536b47e">PdmApplicationPlayStatistics::total_launches</a></div><div class="ttdeci">u64 total_launches</div><div class="ttdoc">Total times the application was launched.</div><div class="ttdef"><b>Definition</b> pdm.h:216</div></div>
<div class="ttc" id="astructPdmApplicationPlayStatistics_html_a69ca56a5bd195ff98466e181ff66a0bb"><div class="ttname"><a href="structPdmApplicationPlayStatistics.html#a69ca56a5bd195ff98466e181ff66a0bb">PdmApplicationPlayStatistics::playtime</a></div><div class="ttdeci">u64 playtime</div><div class="ttdoc">Total play-time in nanoseconds.</div><div class="ttdef"><b>Definition</b> pdm.h:215</div></div>
<div class="ttc" id="astructPdmApplicationPlayStatistics_html_af30111adc4e97bb866d6d283181c601f"><div class="ttname"><a href="structPdmApplicationPlayStatistics.html#af30111adc4e97bb866d6d283181c601f">PdmApplicationPlayStatistics::application_id</a></div><div class="ttdeci">u64 application_id</div><div class="ttdoc">ApplicationId.</div><div class="ttdef"><b>Definition</b> pdm.h:214</div></div>
<div class="ttc" id="astructPdmLastPlayTime_html"><div class="ttname"><a href="structPdmLastPlayTime.html">PdmLastPlayTime</a></div><div class="ttdoc">LastPlayTime.</div><div class="ttdef"><b>Definition</b> pdm.h:101</div></div>
<div class="ttc" id="astructPdmLastPlayTime_html_a0f0e9b7cf022183f00baa95661698d04"><div class="ttname"><a href="structPdmLastPlayTime.html#a0f0e9b7cf022183f00baa95661698d04">PdmLastPlayTime::flag</a></div><div class="ttdeci">u8 flag</div><div class="ttdoc">Flag indicating whether the above field is set.</div><div class="ttdef"><b>Definition</b> pdm.h:106</div></div>
<div class="ttc" id="astructPdmLastPlayTime_html_a272e7961296e7ee6703b9406e9176df1"><div class="ttname"><a href="structPdmLastPlayTime.html#a272e7961296e7ee6703b9406e9176df1">PdmLastPlayTime::application_id</a></div><div class="ttdeci">u64 application_id</div><div class="ttdoc">ApplicationId.</div><div class="ttdef"><b>Definition</b> pdm.h:102</div></div>
<div class="ttc" id="astructPdmLastPlayTime_html_a69c8978fa79f3c8edc106a2d9905d071"><div class="ttname"><a href="structPdmLastPlayTime.html#a69c8978fa79f3c8edc106a2d9905d071">PdmLastPlayTime::timestamp_network</a></div><div class="ttdeci">u32 timestamp_network</div><div class="ttdoc">See PdmAppletEventV1::timestamp_network.</div><div class="ttdef"><b>Definition</b> pdm.h:104</div></div>
<div class="ttc" id="astructPdmLastPlayTime_html_aab70380ccbef3049790a878c4cb58c13"><div class="ttname"><a href="structPdmLastPlayTime.html#aab70380ccbef3049790a878c4cb58c13">PdmLastPlayTime::timestamp_user</a></div><div class="ttdeci">u32 timestamp_user</div><div class="ttdoc">See PdmAppletEventV1::timestamp_user.</div><div class="ttdef"><b>Definition</b> pdm.h:103</div></div>
<div class="ttc" id="astructPdmLastPlayTime_html_ad4bf6b2d305580401bae5e76e75d737c"><div class="ttname"><a href="structPdmLastPlayTime.html#ad4bf6b2d305580401bae5e76e75d737c">PdmLastPlayTime::last_played_minutes</a></div><div class="ttdeci">u32 last_played_minutes</div><div class="ttdoc">Total minutes since the application was last played.</div><div class="ttdef"><b>Definition</b> pdm.h:105</div></div>
<div class="ttc" id="astructPdmPlayEvent_html"><div class="ttname"><a href="structPdmPlayEvent.html">PdmPlayEvent</a></div><div class="ttdoc">PlayEvent.</div><div class="ttdef"><b>Definition</b> pdm.h:112</div></div>
<div class="ttc" id="astructPdmPlayEvent_html_a16bec5ea80cc9c5d84b967a92c303f5f"><div class="ttname"><a href="structPdmPlayEvent.html#a16bec5ea80cc9c5d84b967a92c303f5f">PdmPlayEvent::timestamp_network</a></div><div class="ttdeci">u64 timestamp_network</div><div class="ttdoc">PosixTime timestamp from StandardNetworkSystemClock.</div><div class="ttdef"><b>Definition</b> pdm.h:161</div></div>
<div class="ttc" id="astructPdmPlayEvent_html_a1e751ca08da384fd82821dddf909bf7d"><div class="ttname"><a href="structPdmPlayEvent.html#a1e751ca08da384fd82821dddf909bf7d">PdmPlayEvent::version</a></div><div class="ttdeci">u32 version</div><div class="ttdoc">Application version.</div><div class="ttdef"><b>Definition</b> pdm.h:119</div></div>
<div class="ttc" id="astructPdmPlayEvent_html_a24eb720722fd5f4e744bc389597642d4"><div class="ttname"><a href="structPdmPlayEvent.html#a24eb720722fd5f4e744bc389597642d4">PdmPlayEvent::play_event_type</a></div><div class="ttdeci">u8 play_event_type</div><div class="ttdoc">PdmPlayEventType. Controls which struct in the above event_data is used. PdmPlayEventType_Initialize ...</div><div class="ttdef"><b>Definition</b> pdm.h:157</div></div>
<div class="ttc" id="astructPdmPlayEvent_html_a26734a43879e3e145a0225b7905ece01"><div class="ttname"><a href="structPdmPlayEvent.html#a26734a43879e3e145a0225b7905ece01">PdmPlayEvent::type</a></div><div class="ttdeci">u8 type</div><div class="ttdoc">0-1 to be listed by pdmqryQueryAccountEvent, or 2 to include the above ApplicationId.</div><div class="ttdef"><b>Definition</b> pdm.h:141</div></div>
<div class="ttc" id="astructPdmPlayEvent_html_a43b3c42ce22c368992e0695b016fe30a"><div class="ttname"><a href="structPdmPlayEvent.html#a43b3c42ce22c368992e0695b016fe30a">PdmPlayEvent::log_policy</a></div><div class="ttdeci">u8 log_policy</div><div class="ttdoc">PdmPlayLogPolicy</div><div class="ttdef"><b>Definition</b> pdm.h:133</div></div>
<div class="ttc" id="astructPdmPlayEvent_html_a57ac2f9fb7cf860ba213a4801deefc9b"><div class="ttname"><a href="structPdmPlayEvent.html#a57ac2f9fb7cf860ba213a4801deefc9b">PdmPlayEvent::mode</a></div><div class="ttdeci">u8 mode</div><div class="ttdoc">Input value from pdm:ntfy cmd8, see LibAppletMode.</div><div class="ttdef"><b>Definition</b> pdm.h:124</div></div>
<div class="ttc" id="astructPdmPlayEvent_html_a7f6bbf13b4434b0063609b9bfdaec8e0"><div class="ttname"><a href="structPdmPlayEvent.html#a7f6bbf13b4434b0063609b9bfdaec8e0">PdmPlayEvent::applet_id</a></div><div class="ttdeci">u8 applet_id</div><div class="ttdoc">AppletId</div><div class="ttdef"><b>Definition</b> pdm.h:131</div></div>
<div class="ttc" id="astructPdmPlayEvent_html_a84db09b5d16a39cd497b902ac109e4e4"><div class="ttname"><a href="structPdmPlayEvent.html#a84db09b5d16a39cd497b902ac109e4e4">PdmPlayEvent::value</a></div><div class="ttdeci">u8 value</div><div class="ttdoc">Input value from the pdm:ntfy command.</div><div class="ttdef"><b>Definition</b> pdm.h:145</div></div>
<div class="ttc" id="astructPdmPlayEvent_html_ab775a3ff6ca40e59b200328397cad7b5"><div class="ttname"><a href="structPdmPlayEvent.html#ab775a3ff6ca40e59b200328397cad7b5">PdmPlayEvent::event_type</a></div><div class="ttdeci">u8 event_type</div><div class="ttdoc">PdmAppletEventType</div><div class="ttdef"><b>Definition</b> pdm.h:134</div></div>
<div class="ttc" id="astructPdmPlayEvent_html_ad2eedd2c59d4395719d7c7568f165c88"><div class="ttname"><a href="structPdmPlayEvent.html#ad2eedd2c59d4395719d7c7568f165c88">PdmPlayEvent::storage_id</a></div><div class="ttdeci">u8 storage_id</div><div class="ttdoc">NcmStorageId</div><div class="ttdef"><b>Definition</b> pdm.h:132</div></div>
<div class="ttc" id="astructPdmPlayEvent_html_adb2bd05a714351f9255dd15f153f861b"><div class="ttname"><a href="structPdmPlayEvent.html#adb2bd05a714351f9255dd15f153f861b">PdmPlayEvent::timestamp_steady</a></div><div class="ttdeci">u64 timestamp_steady</div><div class="ttdoc">Timestamp in seconds derived from StandardSteadyClock.</div><div class="ttdef"><b>Definition</b> pdm.h:162</div></div>
<div class="ttc" id="astructPdmPlayEvent_html_afa02a5f6e23c1823fe8592dd8fe86d06"><div class="ttname"><a href="structPdmPlayEvent.html#afa02a5f6e23c1823fe8592dd8fe86d06">PdmPlayEvent::timestamp_user</a></div><div class="ttdeci">u64 timestamp_user</div><div class="ttdoc">PosixTime timestamp from StandardUserSystemClock.</div><div class="ttdef"><b>Definition</b> pdm.h:160</div></div>
<div class="ttc" id="astructPdmPlayEvent_html_aff23478df2113a0e2c635c4ce3dc9ae6"><div class="ttname"><a href="structPdmPlayEvent.html#aff23478df2113a0e2c635c4ce3dc9ae6">PdmPlayEvent::flag</a></div><div class="ttdeci">u8 flag</div><div class="ttdoc">Set to 0x1 by pdm:ntfy cmd8, indicating that the below field is set to an input param.</div><div class="ttdef"><b>Definition</b> pdm.h:123</div></div>
<div class="ttc" id="astructPdmPlayStatisticsV1_html"><div class="ttname"><a href="structPdmPlayStatisticsV1.html">PdmPlayStatisticsV1</a></div><div class="ttdoc">PlayStatisticsV1. PlayStatistics for [1.0.0-15.0.1], converted to PdmPlayStatistics when needed.</div><div class="ttdef"><b>Definition</b> pdm.h:65</div></div>
<div class="ttc" id="astructPdmPlayStatisticsV1_html_a0717dfca7078d8862b0dc814dcc995eb"><div class="ttname"><a href="structPdmPlayStatisticsV1.html#a0717dfca7078d8862b0dc814dcc995eb">PdmPlayStatisticsV1::first_timestamp_network</a></div><div class="ttdeci">u32 first_timestamp_network</div><div class="ttdoc">See PdmAppletEventV1::timestamp_network. This is for the first time the program was played.</div><div class="ttdef"><b>Definition</b> pdm.h:70</div></div>
<div class="ttc" id="astructPdmPlayStatisticsV1_html_a273ca8c9812003ee37ae62ef9a71d370"><div class="ttname"><a href="structPdmPlayStatisticsV1.html#a273ca8c9812003ee37ae62ef9a71d370">PdmPlayStatisticsV1::program_id</a></div><div class="ttdeci">u64 program_id</div><div class="ttdoc">ProgramId.</div><div class="ttdef"><b>Definition</b> pdm.h:66</div></div>
<div class="ttc" id="astructPdmPlayStatisticsV1_html_a6294b9056877e5bc78700ec61a0b287f"><div class="ttname"><a href="structPdmPlayStatisticsV1.html#a6294b9056877e5bc78700ec61a0b287f">PdmPlayStatisticsV1::first_entry_index</a></div><div class="ttdeci">u32 first_entry_index</div><div class="ttdoc">Entry index for the first time the program was played.</div><div class="ttdef"><b>Definition</b> pdm.h:68</div></div>
<div class="ttc" id="astructPdmPlayStatisticsV1_html_a70c61798e1cbe3482d8d9326da3f9db1"><div class="ttname"><a href="structPdmPlayStatisticsV1.html#a70c61798e1cbe3482d8d9326da3f9db1">PdmPlayStatisticsV1::total_launches</a></div><div class="ttdeci">u32 total_launches</div><div class="ttdoc">Total times the program was launched.</div><div class="ttdef"><b>Definition</b> pdm.h:77</div></div>
<div class="ttc" id="astructPdmPlayStatisticsV1_html_a80fc9ada702d15bff63e48c734f384d2"><div class="ttname"><a href="structPdmPlayStatisticsV1.html#a80fc9ada702d15bff63e48c734f384d2">PdmPlayStatisticsV1::last_timestamp_user</a></div><div class="ttdeci">u32 last_timestamp_user</div><div class="ttdoc">See PdmAppletEventV1::timestamp_user. This is for the last time the program was played.</div><div class="ttdef"><b>Definition</b> pdm.h:73</div></div>
<div class="ttc" id="astructPdmPlayStatisticsV1_html_aa964c04e13ab03a078931399c1846422"><div class="ttname"><a href="structPdmPlayStatisticsV1.html#aa964c04e13ab03a078931399c1846422">PdmPlayStatisticsV1::last_timestamp_network</a></div><div class="ttdeci">u32 last_timestamp_network</div><div class="ttdoc">See PdmAppletEventV1::timestamp_network. This is for the last time the program was played.</div><div class="ttdef"><b>Definition</b> pdm.h:74</div></div>
<div class="ttc" id="astructPdmPlayStatisticsV1_html_ad358a69863b817e6c6fbe5aadc0859d6"><div class="ttname"><a href="structPdmPlayStatisticsV1.html#ad358a69863b817e6c6fbe5aadc0859d6">PdmPlayStatisticsV1::last_entry_index</a></div><div class="ttdeci">u32 last_entry_index</div><div class="ttdoc">Entry index for the last time the program was played.</div><div class="ttdef"><b>Definition</b> pdm.h:72</div></div>
<div class="ttc" id="astructPdmPlayStatisticsV1_html_ae6abe8e601e98287f446c40de6ee1b60"><div class="ttname"><a href="structPdmPlayStatisticsV1.html#ae6abe8e601e98287f446c40de6ee1b60">PdmPlayStatisticsV1::playtime_minutes</a></div><div class="ttdeci">u32 playtime_minutes</div><div class="ttdoc">Total play-time in minutes.</div><div class="ttdef"><b>Definition</b> pdm.h:76</div></div>
<div class="ttc" id="astructPdmPlayStatisticsV1_html_aef73ff57963a22b25d62fa926b10474d"><div class="ttname"><a href="structPdmPlayStatisticsV1.html#aef73ff57963a22b25d62fa926b10474d">PdmPlayStatisticsV1::first_timestamp_user</a></div><div class="ttdeci">u32 first_timestamp_user</div><div class="ttdoc">See PdmAppletEventV1::timestamp_user. This is for the first time the program was played.</div><div class="ttdef"><b>Definition</b> pdm.h:69</div></div>
<div class="ttc" id="astructPdmPlayStatistics_html"><div class="ttname"><a href="structPdmPlayStatistics.html">PdmPlayStatistics</a></div><div class="ttdoc">PlayStatistics. PlayStatistics for [16.0.0+], converted from PdmPlayStatisticsV1 on [1....</div><div class="ttdef"><b>Definition</b> pdm.h:81</div></div>
<div class="ttc" id="astructPdmPlayStatistics_html_a1c8ed159265bfc79b98683f4f72a41ac"><div class="ttname"><a href="structPdmPlayStatistics.html#a1c8ed159265bfc79b98683f4f72a41ac">PdmPlayStatistics::last_entry_index</a></div><div class="ttdeci">u32 last_entry_index</div><div class="ttdoc">Entry index for the last time the program was played.</div><div class="ttdef"><b>Definition</b> pdm.h:89</div></div>
<div class="ttc" id="astructPdmPlayStatistics_html_a252ce3ef3ed993653a8fdb0070868e94"><div class="ttname"><a href="structPdmPlayStatistics.html#a252ce3ef3ed993653a8fdb0070868e94">PdmPlayStatistics::last_timestamp_user</a></div><div class="ttdeci">u64 last_timestamp_user</div><div class="ttdoc">See PdmAppletEvent::timestamp_user. This is for the last time the program was played,...</div><div class="ttdef"><b>Definition</b> pdm.h:91</div></div>
<div class="ttc" id="astructPdmPlayStatistics_html_a3120b2cd07e9d0a70fbfbed5253a134d"><div class="ttname"><a href="structPdmPlayStatistics.html#a3120b2cd07e9d0a70fbfbed5253a134d">PdmPlayStatistics::total_launches</a></div><div class="ttdeci">u32 total_launches</div><div class="ttdoc">Total times the program was launched.</div><div class="ttdef"><b>Definition</b> pdm.h:95</div></div>
<div class="ttc" id="astructPdmPlayStatistics_html_a494740b21803e4f0ca9e6114d66aa664"><div class="ttname"><a href="structPdmPlayStatistics.html#a494740b21803e4f0ca9e6114d66aa664">PdmPlayStatistics::playtime</a></div><div class="ttdeci">u64 playtime</div><div class="ttdoc">Total play-time in nanoseconds.</div><div class="ttdef"><b>Definition</b> pdm.h:94</div></div>
<div class="ttc" id="astructPdmPlayStatistics_html_a6d313ed211fbb37e01519df2a92db9fc"><div class="ttname"><a href="structPdmPlayStatistics.html#a6d313ed211fbb37e01519df2a92db9fc">PdmPlayStatistics::pad</a></div><div class="ttdeci">u32 pad</div><div class="ttdoc">Padding.</div><div class="ttdef"><b>Definition</b> pdm.h:85</div></div>
<div class="ttc" id="astructPdmPlayStatistics_html_a820feb1065e2185bbc807c3dcdc26809"><div class="ttname"><a href="structPdmPlayStatistics.html#a820feb1065e2185bbc807c3dcdc26809">PdmPlayStatistics::first_entry_index</a></div><div class="ttdeci">u32 first_entry_index</div><div class="ttdoc">Entry index for the first time the program was played.</div><div class="ttdef"><b>Definition</b> pdm.h:84</div></div>
<div class="ttc" id="astructPdmPlayStatistics_html_a873516bafbe0451f270c0e9b94da8c63"><div class="ttname"><a href="structPdmPlayStatistics.html#a873516bafbe0451f270c0e9b94da8c63">PdmPlayStatistics::first_timestamp_network</a></div><div class="ttdeci">u64 first_timestamp_network</div><div class="ttdoc">See PdmAppletEvent::timestamp_network. This is for the first time the program was played,...</div><div class="ttdef"><b>Definition</b> pdm.h:87</div></div>
<div class="ttc" id="astructPdmPlayStatistics_html_aab4347cec4e6fbfb6b11eba5eb208ae6"><div class="ttname"><a href="structPdmPlayStatistics.html#aab4347cec4e6fbfb6b11eba5eb208ae6">PdmPlayStatistics::pad2</a></div><div class="ttdeci">u32 pad2</div><div class="ttdoc">Padding.</div><div class="ttdef"><b>Definition</b> pdm.h:90</div></div>
<div class="ttc" id="astructPdmPlayStatistics_html_aafbd251567a1dfa2d68a65a6c201d67e"><div class="ttname"><a href="structPdmPlayStatistics.html#aafbd251567a1dfa2d68a65a6c201d67e">PdmPlayStatistics::pad3</a></div><div class="ttdeci">u32 pad3</div><div class="ttdoc">Padding.</div><div class="ttdef"><b>Definition</b> pdm.h:96</div></div>
<div class="ttc" id="astructPdmPlayStatistics_html_add7ce8907aa50a23ede99bd26e8ac540"><div class="ttname"><a href="structPdmPlayStatistics.html#add7ce8907aa50a23ede99bd26e8ac540">PdmPlayStatistics::program_id</a></div><div class="ttdeci">u64 program_id</div><div class="ttdoc">ProgramId.</div><div class="ttdef"><b>Definition</b> pdm.h:82</div></div>
<div class="ttc" id="astructPdmPlayStatistics_html_aea0e53855a4e7ec40fc3d6bbeaff3551"><div class="ttname"><a href="structPdmPlayStatistics.html#aea0e53855a4e7ec40fc3d6bbeaff3551">PdmPlayStatistics::last_timestamp_network</a></div><div class="ttdeci">u64 last_timestamp_network</div><div class="ttdoc">See PdmAppletEvent::timestamp_network. This is for the last time the program was played,...</div><div class="ttdef"><b>Definition</b> pdm.h:92</div></div>
<div class="ttc" id="astructPdmPlayStatistics_html_aef216c79ec96cff626676c62ae1a1827"><div class="ttname"><a href="structPdmPlayStatistics.html#aef216c79ec96cff626676c62ae1a1827">PdmPlayStatistics::first_timestamp_user</a></div><div class="ttdeci">u64 first_timestamp_user</div><div class="ttdoc">See PdmAppletEvent::timestamp_user. This is for the first time the program was played,...</div><div class="ttdef"><b>Definition</b> pdm.h:86</div></div>
<div class="ttc" id="astructService_html"><div class="ttname"><a href="structService.html">Service</a></div><div class="ttdoc">Service object structure.</div><div class="ttdef"><b>Definition</b> service.h:14</div></div>
<div class="ttc" id="atypes_8h_html_a3f7e2bcbb0b4c338f3c4f6c937cd4234"><div class="ttname"><a href="types_8h.html#a3f7e2bcbb0b4c338f3c4f6c937cd4234">u64</a></div><div class="ttdeci">uint64_t u64</div><div class="ttdoc">64-bit unsigned integer.</div><div class="ttdef"><b>Definition</b> types.h:22</div></div>
<div class="ttc" id="atypes_8h_html_a92c50087ca0e64fa93fc59402c55f8ca"><div class="ttname"><a href="types_8h.html#a92c50087ca0e64fa93fc59402c55f8ca">u8</a></div><div class="ttdeci">uint8_t u8</div><div class="ttdoc">8-bit unsigned integer.</div><div class="ttdef"><b>Definition</b> types.h:19</div></div>
<div class="ttc" id="atypes_8h_html_ad1be2721625a17f1be47fac918032afe"><div class="ttname"><a href="types_8h.html#ad1be2721625a17f1be47fac918032afe">Result</a></div><div class="ttdeci">u32 Result</div><div class="ttdoc">Function error code result type.</div><div class="ttdef"><b>Definition</b> types.h:44</div></div>
<div class="ttc" id="atypes_8h_html_ae9b1af5c037e57a98884758875d3a7c4"><div class="ttname"><a href="types_8h.html#ae9b1af5c037e57a98884758875d3a7c4">s32</a></div><div class="ttdeci">int32_t s32</div><div class="ttdoc">32-bit signed integer.</div><div class="ttdef"><b>Definition</b> types.h:27</div></div>
<div class="ttc" id="atypes_8h_html_afaa62991928fb9fb18ff0db62a040aba"><div class="ttname"><a href="types_8h.html#afaa62991928fb9fb18ff0db62a040aba">u32</a></div><div class="ttdeci">uint32_t u32</div><div class="ttdoc">32-bit unsigned integer.</div><div class="ttdef"><b>Definition</b> types.h:21</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8
</small></address>
</body>
</html>