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>IOStreamCallback</title> 8 </head> 9 <body> 10 <h1><CODE>nw::io::IOStream::IOStreamCallback</CODE> Type</h1> 11 <h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14typedef void(* nw::io::IOStream::IOStreamCallback)(s32 result, IOStream *stream, void *arg);</pre> 15 </div> 16 <h2>Description</h2> 17 <div class="section"> 18 <p>This callback function is called after asynchronous processing completes.</p><p>The following describes the callback arguments:</p><table class="arguments"><tr><th>result</th><td>Passes the execution result of the asynchronous processing.</td></tr><tr><th>stream</th><td>Used to pass a pointer to the stream which executed the asynchronous processing.</td></tr><tr><th>arg</th><td> 19 The <argument>arg</argument> callback setting argument is passed as is. 20 </td></tr></table></div> 21 <h2>Revision History</h2> 22 <div class="section"> 23 <dl class="history"> 24 <dt>2009/10/20</dt> 25 <dd>Initial version.<br /> 26 </dd> 27 </dl> 28 </div> 29 <hr><p>CONFIDENTIAL</p></body> 30</html>