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<META http-equiv="Content-Style-Type" content="text/css">
7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css">
8<title>VFActivateDrive*(W)</title>
9</head>
10
11<body>
12
13<h1>VFActivateDrive*(W)</h1>
14
15<h2>C Specification</h2>
16<dl><dd><pre><code>
17#include &lt;revolution/vf.h&gt;
18
19typedef s32	VFErr;
20
21extern VFErr    VFActivateDriveNANDFlash( const char* drive, const char* sysFileName );
22extern VFErr    VFActivateDriveNANDFlashW( const VFWchar* drive, const char* sysFileName );
23
24extern VFErr    VFActivateDriveRam      ( const char* drive, void* memory );
25extern VFErr    VFActivateDriveRamW     ( const VFWchar* drive, void* memory );
26
27extern VFErr    VFActivateDriveDVD      ( const char* drive,  const char* sysFileName );
28extern VFErr    VFActivateDriveDVDW     ( const VFWchar* drive,  const char* sysFileName );
29
30</code></pre></dd></dl>
31
32<h2>Arguments</h2>
33<p>
34<TABLE border="1" >
35  <tr>
36<TD valign="top" width="120" bgcolor="#ffffe8"><CODE><STRONG><EM>drive</EM></STRONG></CODE></TD>
37<TD width="520">The name of the drive to be mounted. Specify a single letter.</TD>
38  </tr>
39  <tr>
40<TD valign="top" width="120" bgcolor="#ffffe8"><CODE><STRONG><EM>sysFileName</EM></STRONG></CODE></TD>
41<TD width="520">The name of the VFF file name to be mounted. The file name must use the 8.3 format.</TD>
42  </tr>
43  <tr>
44<TD valign="top" width="120" bgcolor="#ffffe8"><CODE><STRONG><EM>memory</EM></STRONG></CODE></TD>
45<TD width="520">The RAM address to be mounted.</TD>
46  </tr>
47</TABLE>
48</p>
49
50<h2>Return Values</h2>
51<PRE>
52When successful, 0.
53When failed, a <code><a href="./VFErr.html">VFErr</a></code> other than 0.
54</PRE>
55
56
57<H2>Description</H2>
58<p>
59Mounts the drive reserved by VFAttachDriveXXX( ) and enables its use.<BR>VF_ERR_ALREADY_MOUNTED_DRV_NAME is returned if the specified drive name is already mounted.<br>Calls should be differentiated by the type of media to be used. You cannot mount a drive that has't been attached.<BR>The name of the drive can be specified from A to Z.
60</p>
61
62<h2>See Also</h2>
63<p>
64<code><a href="./VFInactivateDrive.html">VFInactivateDrive</a></code>, <code><a href="./VFAttachDrive.html">VFAttachDrive</a></code>, <code><a href="./VFMountDrive.html">VFMountDrive</a></code>
65</p>
66
67<H2>Revision History</H2>
68<p>2006/09/21</p>
69
70
71<hr><p>CONFIDENTIAL</p></body>
72</html>
73