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