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