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>THPPrint/THPPrintError/THPPrintLog</title> 8</head> 9 10<body> 11 12<h1>THPPrint/THPPrintError/THPPrintLog</h1> 13 14<h2>Syntax</h2> 15<dl><dd><pre class="construction"> 16#include <win32/thpcore.h> 17 18void THPPrint(const char* format, ...); 19 20void THPPrintError(const char* format, ...); 21 22void THPPrintLog(const char* format, ...); 23</pre></dd></dl> 24 25<h2>Arguments</h2> 26<TABLE class="arguments" border="1" > 27 <tr> 28<th><CODE>format</CODE></th> 29<td>Pointer to a null-terminated char string that includes a format specification (Same as the C standard output function)</td> 30 </tr> 31 <tr> 32 <th>...</th> 33<td>Option argument.</td> 34 </tr> 35</table> 36 37<h2>Return Values</h2> 38<p> 39None. 40</p> 41 42<h2>Description</h2> 43<p> 44When their respective <A href="THPVerboseFlag.html"><code>THPVerboseFlag</code></A> flags are set to non-zero values, they output formatted output data via the functions registered in <A href="THPPrintXXXXFunc.html"><code>THPPrintFunc/THPPrintErrorFunc/THPPrintLogFunc</code></A>. 45</p> 46<p> 47If no functions are registered in <A href="THPPrintXXXXFunc.html"><code>THPPrintFunc/THPPrintErrorFunc/THPPrintLogFunc</code></A>, they output formatted output data to standard error output (<code>stderr</code>)/standard error output (<code>stderr</code>)/ and standard output (<code>stdout</code>) respectively. 48</p> 49 50<h2>See Also</h2> 51<p class="reference"> 52<A href="THPVerboseFlag.html">THPVerboseFlag</A>, 53<A href="THPPrintXXXXFunc.html">THPPrintFunc/THPPrintErrorFunc/THPPrintLogFunc</A> 54</p> 55 56<h2>Revision History</h2> 57<P> 582006/03/01 Initial version.<br> 59</P> 60 61<hr><p>CONFIDENTIAL</p></body> 62</html>