1<!DOCTYPE HTML PUBLIC "-//W3C//Dtd HTML 4.01 Transitional//EN"> 2<html> 3<head> 4<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" /> 5<meta http-equiv="Content-Style-Type" content="text/css" /> 6<link rel="stylesheet" type="text/css" href="../../CSS/revolution.css" /> 7<title>ENCSetBreakType</title> 8</head> 9 10<body> 11 12<h1>ENCSetBreakType</h1> 13 14 15<h2>Syntax</h2> 16<dl><dd><pre class="construction">#include <revolution/enc.h> 17 18ENCResult ENCSetBreakType(ENCContext* context, <a href="../Types/ENCBreakType.html">ENCBreakType</a> type); 19</pre></dd></dl> 20 21<h2>Arguments</h2> 22<TABLE class="arguments" border="1" > 23 <tr> 24<th>context</th> 25<td>Character code conversion context.</td> 26 </tr> 27 <tr> 28<th>type</th> 29<td>Method used to handle carriage return codes defined with <a href="../Types/ENCBreakType.html">ENCBreakType</a>.</td> 30 </tr> 31</table> 32 33<h2>Return Values</h2> 34<p> 35<code>ENC_OK</code>: Normal exit.<br><code>ENC_ERR_INVALID_PARAM</code>: Invalid argument.<br> 36</p> 37 38<h2>Description</h2> 39<p>Configures handling of carriage return codes for a character code conversion context.</p> 40<p>The default setting is <code>ENC_BR_KEEP</code>.</p> 41 42<h2>See Also</h2> 43<P class="reference"> 44 <a href="../Types/ENCBreakType.html">ENCBreakType</a> 45</p> 46 47<h2>Revision History</h2> 48<p> 492007/10/02 Corrected error in <B>Description</B>.<br>2006/10/19 Initial version.<br> 50</p> 51 52<hr><p>CONFIDENTIAL</p></body> 53</html>