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_ReadTrackInfo</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_ReadTrackInfo <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 &lt;nitro/snd.h&gt;</code></pre></dd>
17<dd><pre class="funcprototype"><code class="funcprototype">BOOL SND_ReadTrackInfo(
18        const SNDDriverInfo* <var>driverInfo</var>,
19        int <var>playerNo</var>,
20        int <var>trackNo</var>,
21        <a href="SNDTrackInfo.html">SNDTrackInfo</a>* <var>trackInfo</var> );</code><br></pre></dd>
22</dl>
23<div class="refsection" lang="ja"><a name="IDACMWT"></a>
24      <h2>Arguments</h2>
25
26      <div class="variablelist">
27<table border="0">
28<col align="left" valign="top">
29<tbody>
30<tr>
31<td><em><strong><code>driverInfo</code></strong></em></td>
32<td>The pointer to the driver information structure.</td>
33</tr>
34<tr>
35<td><em><strong><code>playerNo</code></strong></em></td>
36<td>The player number. Takes a value between 0 and 15.</td>
37</tr>
38<tr>
39<td><em><strong><code>trackNo</code></strong></em></td>
40<td>The track number. Takes a value between 0 and 15.</td>
41</tr>
42<tr>
43<td><em><strong><code>trackInfo</code></strong></em></td>
44<td>The pointer to the track information structure to store the obtained information.</td>
45</tr>
46</tbody>
47</table>
48</div>
49
50    </div>
51<div class="refsection" lang="ja"><a name="IDAGNWT"></a>
52      <h2>Return Values</h2>
53
54      <p>Returns whether the attempt to obtain the information succeeded or failed.</p>
55    </div>
56<div class="refsection" lang="ja"><a name="IDANNWT"></a>
57      <h2>Description</h2>
58      <p>
59Gets the track information from the driver information structure.
60</p>
61      <p>
62The <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.
63</p>
64      <p>
65If obtained successfully, the track information is written to <strong><em><code>trackInfo</code></em></strong>, the <code><a href="SNDTrackInfo.html">SNDTrackInfo</a></code>-type structure for the track information.
66</p>
67    </div>
68<h2>See Also</h2>
69<p><code><a href="SND_ReadDriverInfo.html">SND_ReadDriverInfo</a>, <a href="SNDTrackInfo.html">SNDTrackInfo</a></code></p>
70<h2>Revision History</h2>
71<p>2005/02/17 Initial version.</p>
72</div>
73<hr><p>CONFIDENTIAL</p></body>
74</html>
75