org.symbian.tools.wrttools.doc.WebDeveloper/html/GUID-FD1799EE-A7AB-488C-9159-2BC315058DC0.html
author Eugene Ostroukhov <eugeneo@symbian.org>
Fri, 11 Jun 2010 13:33:03 -0700
changeset 372 1e408ee32d8a
parent 229 716254ccbcc0
permissions -rw-r--r--
Added templates for WRT 1.1 platform services


<!DOCTYPE html
  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><meta name="copyright" content="(C) Copyright 2009"/><meta name="DC.rights.owner" content="(C) Copyright 2009"/><meta name="DC.Type" content="mobileconcept"/><meta name="DC.Title" content="drivesize()"/><meta name="DC.Relation" scheme="URI" content="GUID-0A0DE525-723F-45BD-9F10-76AAB4616426"/><meta name="DC.Relation" scheme="URI" content="GUID-7C69DDA4-16F1-4A8F-BDB2-4CB0015B4E81"/><meta name="DC.Relation" scheme="URI" content="GUID-65AAF569-D347-462B-B59A-9D7CA184AB9C"/><meta name="DC.Relation" scheme="URI" content="GUID-1A678A11-0BDD-4F64-9F40-013F6CDB81D7"/><meta name="DC.Relation" scheme="URI" content="GUID-896164BE-C1A6-42BF-B2BD-7C63CF8C166A"/><meta name="DC.Format" content="XHTML"/><meta name="DC.Identifier" content="GUID-FD1799EE-A7AB-488C-9159-2BC315058DC0"/><title>drivesize() </title><script type="text/javascript">
      function initPage() {}
    </script><link href="../PRODUCT_PLUGIN/book.css" rel="stylesheet" type="text/css"/><link href="css/s60/style.css" rel="stylesheet" type="text/css" media="all"/></head><body onload="initPage();"><div class="body"><div class="contentLeft prTxt"><h1 class="pageHeading" id="GUID-FD1799EE-A7AB-488C-9159-2BC315058DC0">drivesize()</h1><div>
<p><strong>Syntax:</strong></p>
<pre class="codeblock" id="GUID-5EFBB391-73F9-4E0A-AAC3-3482464D9A15">[int] sysinfo.drivesize(String drivename)</pre>
<p><strong>Description:</strong></p>
<p>The <code>drivesize</code> method can be used to detect the total size of an existing memory storage in a device.</p>
<p><strong>Argument:</strong></p>
<ul>
<li><p><code>drivename</code>:</p>

<p>A string that specifies the name of a drive to be examined.</p>

</li>
</ul>
<p><strong>Return value:</strong></p>
<p>If the drive exists, this method returns an integer value indicating the total size of the specified drive, measured in bytes.</p>
<p><strong>Example code:</strong></p>
<p>See the <a href="GUID-0A0DE525-723F-45BD-9F10-76AAB4616426.html#GUID-0A0DE525-723F-45BD-9F10-76AAB4616426"><code>drivefree()</code></a> example code.</p>
</div></div></div><div class="footer"><hr/><div class="copy">© Nokia 2009.</div></div></body></html>