1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<LINK rel="stylesheet" type="text/css" href="../../../CSS/revolution.css">
7<title>THPUtyWriteTHPAudioInfo</title>
8</head>
9
10<body>
11
12<h1>THPUtyWriteTHPAudioInfo</h1>
13
14<h2>Syntax</h2>
15<dl><dd><pre class="construction">
16#include &lt;win32/thputilities.h&gt;
17
18s32 THPUtyWriteTHPAudioInfo(FILE* op, THPAudioInfo* audioinfo);
19</pre></dd></dl>
20
21<h2>Arguments</h2>
22<TABLE class="arguments" border="1" >
23  <tr>
24<th><STRONG><EM><CODE>op</CODE></EM></STRONG></th>
25<td>File pointer to output destination.</td>
26  </tr>
27  <tr>
28<th>audioinfo</th>
29<td>Pointer to the <A href="../../common/THPAudioInfo.html"><code>THPAudioInfo</code></A> structure to be output.</td>
30  </tr>
31</table>
32
33<h2>Return Values</h2>
34<p>
35Returns one of the following codes.
36</p>
37
38<TABLE class="arguments" border="1" >
39  <tbody>
40    <tr align="center">
41<td bgcolor="#CCCCCC">Code</td>
42<td bgcolor="#CCCCCC" width=50>Value</td>
43<td bgcolor="#CCCCCC">Description</td>
44    </tr>
45    <tr>
46<th>THP_ERROR_NOERROR</th>
47      <td align="center">0</td>
48<td>The function ended normally.</td>
49    </tr>
50    <tr>
51<th>THP_ERROR_FILEIO</th>
52      <td align="center">1</td>
53<td>Failed to read to or write from file.</td>
54    </tr>
55  </tbody>
56</table>
57
58<h2>Description</h2>
59<p>
60Outputs the <A href="../../common/THPAudioInfo.html"><code>THPAudioInfo</code></A> structure to the file specified by <SPAN class="argument">op</SPAN>.
61</p>
62
63<h2>See Also</h2>
64<p class="reference">
65<A href="../../common/THPAudioInfo.html">THPAudioInfo</A>
66</p>
67
68<h2>Revision History</h2>
69<P>
702006/03/01 Initial version.<br>
71</P>
72
73<hr><p>CONFIDENTIAL</p></body>
74</html>