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>Open</title> 8 </head> 9 <body> 10<h1><CODE><a href="../../../../nn/Overview.html">nn</a>::<a href="../../../../nn/hio/Overview.html">hio</a>::<a href="../../../../nn/hio/CTR/Overview.html">CTR</a>::<a href="../../../../nn/hio/CTR/HostFile/Overview.html">HostFile</a>::Open</CODE> Member Function</h1> 11<h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition">#include <nn/hio.h> 14 15<a href="../../../../nn/Result/Overview.html">Result</a> Open( 16 const char * path, 17 <a href="../../../../nn_types/bit32.html">bit32</a> accessMode, 18 <a href="../../../../nn/hio/CTR/HostFile/OpenDisp.html">OpenDisp</a> disp 19); 20 21<a href="../../../../nn/Result/Overview.html">Result</a> Open( 22 const wchar_t * path, 23 <a href="../../../../nn_types/bit32.html">bit32</a> accessMode, 24 <a href="../../../../nn/hio/CTR/HostFile/OpenDisp.html">OpenDisp</a> disp 25); 26</pre> 27 </div> 28<h2>List of Overloaded Member Functions</h2> 29 <div class="section"> 30 <table class="members"> 31 <tr> 32 <td> 33<a href="./Open(0).html"><CODE>Open(const char *, bit32, OpenDisp)</CODE> </a> 34 </td> 35<td>Opens the specified file.</td> 36 </tr> 37 <tr> 38 <td> 39<a href="./Open(1).html"><CODE>Open(const wchar_t *, bit32, OpenDisp)</CODE> </a> 40 </td> 41<td>Opens the specified file.</td> 42 </tr> </table> 43 </div> 44<h2>Description of <CODE>Open(const char *, bit32, OpenDisp)</CODE></h2> 45<div class="section"><p>Opens a host file and makes it accessible.<br />To learn about the values specified for <B>accessMode</B>, see <CODE><a href="../../../../nn/hio/CTR/HostFile/AccessMode.html">AccessMode</a></CODE>.<br />To learn about the values specified for <B>disp</B>, see <CODE><a href="../../../../nn/hio/CTR/HostFile/OpenDisp.html">OpenDisp</a></CODE>.<br /></p><!-- write here --></div> 46<h2>Description of <CODE>Open(const wchar_t *, bit32, OpenDisp)</CODE></h2> 47<div class="section"><p>Opens a host file and makes it accessible.<br />Opens a host file and makes it accessible.<br />To learn about the values specified for <B>accessMode</B>, see <CODE><a href="../../../../nn/hio/CTR/HostFile/AccessMode.html">AccessMode</a></CODE>.<br />To learn about the values specified for <B>disp</B>, see <CODE><a href="../../../../nn/hio/CTR/HostFile/OpenDisp.html">OpenDisp</a></CODE>.<br />The overloaded member function when specifying filenames in Unicode.</p><!-- write here --></div> 48 <hr><p>CONFIDENTIAL</p></body> 49</html> 50