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>VFDeleteFile(W)</title> 9</head> 10 11<body> 12 13<h1>VFDeleteFile(W)</h1> 14 15<h2>C Specification</h2> 16<dl><dd><pre><code> 17#include <revolution/vf.h> 18 19typedef s32 VFErr; 20 21VFErr VFDeleteFile( const char* path ); 22VFErr VFDeleteFileW( const VFWchar* path ); 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>path</EM></STRONG></CODE></TD> 30<TD width="520">The address storing the path and file name.</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> 44Deletes a file.<br> Open files cannot be deleted.<br> Wildcards ('*' and '?') cannot be used to specify file names.<br> 45</p> 46 47<h2>See Also</h2> 48<p> 49<code><a href="./VFCreateFile.html">VFCreateFile</a></code>, <code><a href="./VFOpenFile.html">VFOpenFile</a></code>, <code><a href="./VFSeekFile.html">VFSeekFile</a></code>, <code><a href="./VFReadFile.html">VFReadFile</a></code>, <code><a href="./VFWriteFile.html">VFWriteFile</a></code>, <code><a href="./VFCloseFile.html">VFCloseFile</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