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>THPUtyPutF32</title> 8</head> 9 10<body> 11 12<h1>THPUtyPutF32</h1> 13 14<h2>Syntax</h2> 15<dl><dd><pre class="construction"> 16#include <win32/thputilities.h> 17 18s32 THPUtyPutF32(FILE *op, f32 data); 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>data</th> 29<td>Floating-decimal-point value to output to <SPAN class="argument">op</SPAN> after conversion of endianness.</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> 60After converting the endianness of <SPAN class="argument">data</SPAN>, which is a floating-point value (f32), outputs it to the file specified by <SPAN class="argument">op</SPAN> 61</p> 62 63<h2>See Also</h2> 64<p> 65None. 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>