1<html>
2
3<head>
4<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
5<LINK rel="stylesheet" type="text/css" href="../../../CSS/revolution.css">
6<title>THPUtyWritePad32</title>
7</head>
8
9<body>
10
11<h1>THPUtyWritePad32</h1>
12
13<h2>C Specification</h2>
14
15<dl>
16<dd><pre><code>#include &lt;win32/thputilities.h&gt;</code></pre></dd>
17<dd><pre><code>s32 THPUtyWritePad32(FILE* op, u32 bytes);</code></pre></dd>
18</dl>
19
20<h2>Arguments</h2>
21<table border="1" cellpadding="3" cellspacing="0.1">
22  <tr>
23<td width="120" bgcolor="#ffffe8"><strong><em><CODE>op</CODE></em></strong></td>
24<td width="520">File pointer to the output destination.</td>
25  </tr>
26  <tr>
27<td width="120" bgcolor="#ffffe8"><strong><em><CODE>bytes</CODE></em></strong></td>
28<td width="520">Size of the data just output.</td>
29  </tr>
30</table>
31
32<h2>Return Values</h2>
33<p>
34Returns one of the following codes:
35</p>
36
37<table border="1">
38  <tbody>
39    <tr align="center">
40<td>Code</td>
41<td width=50>Value</td>
42<td>Description</td>
43    </tr>
44    <tr>
45<td><CODE>THP_ERROR_NOERROR</CODE></td>
46      <td align="center">0</td>
47<td>The function ended normally.</td>
48    </tr>
49    <tr>
50<td><CODE>THP_ERROR_FILEIO</CODE></td>
51      <td align="center">1</td>
52<td>Failed to read or write from file. </td>
53    </tr>
54  </tbody>
55</table>
56
57<h2>Description</h2>
58<p>
59This function outputs <CODE>NULL</CODE> for the file to have 32-byte alignment.
60</p>
61
62<h2>See Also</h2>
63<p>
64None.
65</p>
66
67<h2>Revision History</h2>
68<P>2006/03/01 Initial version.</P>
69<hr>
70<P>CONFIDENTIAL</p>
71</BODY>
72</HTML>