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>THPUtyWriteTHPFrameHeader</title> 7</head> 8 9<body> 10 11<h1>THPUtyWriteTHPFrameHeader</h1> 12 13<h2>C Specification</h2> 14 15<dl> 16<dd><pre><code>#include <win32/thputilities.h></code></pre></dd> 17<dd><pre><code>s32 THPUtyWriteTHPFrameHeader(FILE* op, 18THPFrameCompInfo* frameCompInfo, 19THPFrameHeader* frameHeader);</code></pre></dd> 20</dl> 21 22<h2>Arguments</h2> 23<table border="1" cellpadding="3" cellspacing="0.1"> 24 <tr> 25<td width="120" bgcolor="#ffffe8"><strong><em><CODE>op</CODE></em></strong></td> 26<td width="520">File pointer to the output destination.</td> 27 </tr> 28 <tr> 29<td width="120" bgcolor="#ffffe8"><strong><em><CODE>frameCompinfo</CODE></em></strong></td> 30<td width="520">Pointer to the <code>THPFrameCompInfo</code> structure.</td> 31 </tr> 32 <tr> 33<td width="120" bgcolor="#ffffe8"><strong><em><CODE>frameHeader</CODE></em></strong></td> 34<td width="520">Pointer to the <code>THPFrameHeader</code> structure</A> to be output.</td> 35 </tr> 36</table> 37 38<h2>Return Values</h2> 39<p> 40Returns one of the following codes: 41</p> 42 43<table border="1"> 44 <tbody> 45 <tr align="center"> 46<td>Code</td> 47<td width=50>Value</td> 48<td>Description</td> 49 </tr> 50 <tr> 51<td><CODE>THP_ERROR_NOERROR</CODE></td> 52 <td align="center">0</td> 53<td>The function ended normally.</td> 54 </tr> 55 <tr> 56<td><CODE>THP_ERROR_FILEIO</CODE></td> 57 <td align="center">1</td> 58<td>Failed to read or write from file. </td> 59 </tr> 60 </tbody> 61</table> 62 63<h2>Description</h2> 64<p> 65This function outputs the <code>THPFrameHeader</code> structure to the file specified by <code>op</code>. 66</p> 67 68<h2>See Also</h2> 69<p> 70None. 71</p> 72 73<h2>Revision History</h2> 74<P>03/01/2006 Initial version.</P> 75</body> 76</html>