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>VFCreateDir(W)</title> 9</head> 10 11<body> 12 13<h1>VFCreateDir(W)</h1> 14 15<h2>C Specification</h2> 16<dl><dd><pre><code> 17#include <revolution/vf.h> 18 19typedef s32 VFErr; 20 21VFErr VFCreateDir( const char* dirName ); 22VFErr VFCreateDirW( const VFWchar* dirName ); 23</code></pre></dd></dl> 24 25<h2>Arguments</h2> 26<p> 27<TABLE border="1" > 28 <tr> 29<TD valign="top" width="120" bgcolor="#ffffe8"><CODE><STRONG><EM>dirName</EM></STRONG></CODE></TD> 30<TD width="520">The address storing the path and directory name.<BR>Either a full or relative path may be specified.</TD> 31 </tr> 32</TABLE> 33</p> 34 35<h2>Return Values</h2> 36<PRE> 37When successful, 0. 38When failed, a <code><a href="./VFErr.html">VFErr</a></code> other than 0. 39</PRE> 40 41 42<H2>Description</H2> 43<p> 44Creates a directory. <CODE>VFCreateDir</CODE> attempts to create a directory with the last name specified by <CODE><STRONG><EM>dirName</EM></STRONG></CODE>. Currently, if an invalid directory is found in the path, the target directory is not created, and an error is returned.<br>In addition, an error is returned if an attempt is made to create an already existing directory. 45</p> 46 47<h2>See Also</h2> 48<p> 49<code><a href="./VFChangeDir.html">VFChangeDir</a></code>, <code><a href="./VFDeleteDir.html">VFDeleteDir</a></code> 50</p> 51 52<H2>Revision History</H2> 53<p>2006/06/23 Release.</p> 54 55 56<hr><p>CONFIDENTIAL</p></body> 57</html> 58