1<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html> 2<head> 3<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 4<title>SND_ReadPlayerInfo</title> 5<link rel="stylesheet" href="../css/nitro.css" type="text/css"> 6<meta name="generator" content="DocBook XSL Stylesheets V1.65.1"> 7</head> 8<body> 9<div class="refentry" lang="ja"><a name="IDAKKWT"></a><div class="titlepage"> 10<div></div> 11<div></div> 12</div> 13<h1>SND_ReadPlayerInfo <IMG src="../image/NTR.gif" width="24" height="12" border="0" align=middle><IMG src="../image/TWL.gif" width="24" height="12" border="0" align=middle></h1> 14<h2>Syntax</h2> 15<dl> 16<dd><pre class="funcsynopsisinfo"><code>#include <nitro/snd.h></code></pre></dd> 17<dd><pre class="funcprototype"><code class="funcprototype">BOOL SND_ReadPlayerInfo( 18 const SNDDriverInfo* <var>driverInfo</var>, 19 int <var>playerNo</var>, 20 <a href="SNDPlayerInfo.html">SNDPlayerInfo</a>* <var>playerInfo</var> );</code><br></pre></dd> 21</dl> 22<div class="refsection" lang="ja"><a name="IDA4LWT"></a> 23 <h2>Arguments</h2> 24 25 <div class="variablelist"> 26<table border="0"> 27<col align="left" valign="top"> 28<tbody> 29<tr> 30<td><em><strong><code>driverInfo</code></strong></em></td> 31<td>The pointer to the driver information structure.</td> 32</tr> 33<tr> 34<td><em><strong><code>playerNo</code></strong></em></td> 35<td>The player number. Takes a value between 0 and 15.</td> 36</tr> 37<tr> 38<td><em><strong><code>playerInfo</code></strong></em></td> 39<td>The pointer to the player information structure to store the obtained information.</td> 40</tr> 41</tbody> 42</table> 43</div> 44 45 </div> 46<div class="refsection" lang="ja"><a name="IDA1MWT"></a> 47 <h2>Return Values</h2> 48 49 <p>Returns whether the attempt to obtain the information succeeded or failed.</p> 50 </div> 51<div class="refsection" lang="ja"><a name="IDACNWT"></a> 52 <h2>Description</h2> 53 <p> 54Gets the player information from the driver information structure. 55</p> 56 <p> 57The <tt class="function"><a href="SND_ReadDriverInfo.html">SND_ReadDriverInfo</a></tt> function can be used to obtain the <CODE>driverInfo</CODE> driver information structure. 58</p> 59 <p> 60If obtained successfully, the player information is written to <strong><em><code>playerInfo</code></em></strong>, the <code><a href="SNDPlayerInfo.html">SNDPlayerInfo</a></code>-type structure for the player information. 61</p> 62 </div> 63<h2>See Also</h2> 64<p><code><a href="SND_ReadDriverInfo.html">SND_ReadDriverInfo</a>, <a href="SNDPlayerInfo.html">SNDPlayerInfo</a></code></p> 65<h2>Revision History</h2> 66<p>2005/02/17 Initial version.</p> 67</div> 68<hr><p>CONFIDENTIAL</p></body> 69</html> 70