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>GetLastResponseResult</title> 8 </head> 9 <body> 10<h1><CODE><a href="../../../nn/Overview.html">nn</a>::<a href="../../../nn/friends/Overview.html">friends</a>::<a href="../../../nn/friends/CTR/Overview.html">CTR</a>::GetLastResponseResult</CODE> Function</h1> 11<h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14<a href="../../../nn/Result/Overview.html">Result</a> GetLastResponseResult(); 15</pre> 16 </div> 17<h2>Arguments</h2> 18 <div class="section"> 19<p>None.</p> 20 </div> 21<h2>Return Values</h2> 22<div class="section">Returns the result of the asynchronous operation.<br /> <br /> 23 <table class="arguments"> 24 <thead> 25 <tr> 26<th>Value</th> 27<td>Description</td> 28 </tr> 29 </thead> 30 <tr> 31<th><CODE>Result::IsSuccess</CODE></th> 32<td>Process succeeded.</td> 33 </tr> 34 <tr> 35<th><CODE>ResultNotInitialized</CODE></th> 36<td>The friend presence library is not initialized.</td> 37 </tr> 38 <tr> 39<th>Other</th> 40<td>Another result may be returned, depending on the internal state of the daemon, communication state, and other factors.</td> 41 </tr> 42 </table> </div> 43<h2>Description</h2> 44 <div class="section"> 45<p>Gets the result of the completed asynchronous operation.</p><p>When multiple asynchronous processes are running, the acquired result is overwritten with that of the asynchronous process that was last started. When a separate asynchronous process begins before a specific asynchronous process completes, the result for the first asynchronous process cannot be acquired even if it completes before the the latter one completes. In principle, running several asynchronous processes in parallel should be avoided.</p><!-- write here --></div> 46<h2>Revision History</h2> 47 <div class="section"> 48 <dl class="history"> 49 <dt>2011/03/11</dt> 50<dd>Added specific examples of return values.<br /> 51 </dd> 52 <dt>2010/08/16</dt> 53<dd>Initial version.<br /> 54 </dd> 55 </dl> 56 </div> 57 <hr><p>CONFIDENTIAL</p></body> 58</html> 59