1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../../../css/manpage.css" type="text/css" /> 7<title>OpenDisp</title> 8 </head> 9 <body> 10<h1><CODE>nn::hio::CTR::HostFile::OpenDisp</CODE> Enumerated Type</h1> 11<h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition">#include <nn/hio.h> 14 15enum OpenDisp; 16</pre> 17 </div> 18<h2>Values</h2> 19 <div class="section"> 20 <table class="arguments"> 21 <thead> 22 <tr> 23<th>Value</th> 24<td>Description</td> 25 </tr> 26 </thead> 27 <tr> 28<th>OPEN_DISP_CREATE_NEW</th> 29<td>Creates a new file.</td> 30 </tr> 31 <tr> 32<th>OPEN_DISP_CREATE_ALWAYS</th> 33<td>Always creates a new file.</td> 34 </tr> 35 <tr> 36<th>OPEN_DISP_OPEN_EXISTING</th> 37<td>Opens an existing file.</td> 38 </tr> 39 <tr> 40<th>OPEN_DISP_OPEN_ALWAYS</th> 41<td>Always opens a file.</td> 42 </tr> 43 </table> </div> 44<h2>Description</h2> 45 <div class="section"> 46<p>Group of constants indicating the behavior to use when a file is opened.</p><!-- write here --></div> 47<h2>Revision History</h2> 48 <div class="section"> 49 <dl class="history"> 50 <dt>2010/03/31</dt> 51<dd>Initial version.<br /> 52 </dd> 53 </dl> 54 </div> 55 <hr><p>CONFIDENTIAL</p></body> 56</html>