1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" /> 7<title>GetArgBinary</title> 8 </head> 9 <body> 10<h1><CODE><a href="../../../nn/Overview.html">nn</a>::<a href="../../../nn/dbg/Overview.html">dbg</a>::<a href="../../../nn/dbg/CTR/Overview.html">CTR</a>::GetArgBinary</CODE> Function</h1> 11<h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition">#include <nn/dbg.h> 14const void * GetArgBinary( 15 void 16); 17</pre> 18 </div> 19<h2>Parameters</h2> 20 <div class="section"> 21<p>None.</p> 22 </div> 23<h2>Return Values</h2> 24<div class="section">Pointer to the binary region stored in the startup argument buffer. </div> 25<h2>Description</h2> 26 <div class="section"> 27<p>Gets the argument buffer stored in binary.</p><P> 28Returns NULL if the startup argument buffer does not contain binary data or if there is no startup argument buffer. 29</P><PRE> 30 // Binary data display 31 const void* pArea = <font color="red">nn::dbg::CTR::GetArgBinary()</font>; 32 size_t size = nn::dbg::CTR::GetArgBinarySize(); 33 34 NN_LOG("buffer 0x%x size 0x%x\n", pArea, size); 35</PRE><P> 36Always returns NULL in release builds. 37</P></div> 38<h2>Revision History</h2> 39 <div class="section"> 40 <dl class="history"> 41 <dt>2011/12/14</dt> 42<dd>Initial version.<br /> 43 </dd> 44 </dl> 45 </div> 46 <hr><p>CONFIDENTIAL</p></body> 47</html> 48