<div class="content"><p>The GetCurrentMemory method determines the total amount of
physical memory in the system.</p><dl>
<dd>
<div><pre> [id(10), helpstring(&#34;method GetCurrentMemory&#34;)] HRESULT GetCurrentMemory(
   [out] DWORD64* pdwCurrMemory
 );
</pre></div>
</dd></dl><p><b>pdwCurrMemory: </b>A pointer to a 64-bit unsigned
integer that returns the current system memory size, in bytes.</p><p><b>Return Values: </b>This method returns 0x00000001
for success or 0x00000000 if an error occurs.</p><dl>
<dd>
<table><thead>
  <tr>
   <th>
   <p>Return value/code</p>
   </th>
   <th>
   <p>Description</p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>
  <p>0x00000000</p>
  </td>
  <td>
  <p>An error occurred.</p>
  </td>
 </tr><tr>
  <td>
  <p>0x00000001</p>
  <p>S_OK</p>
  </td>
  <td>
  <p>Operation successful.</p>
  </td>
 </tr></tbody></table>
</dd></dl><p>Additional <a href="7c62a2fd-63f4-435f-8fc8-c94e4509f6fd" data-linktype="relative-path">IResourceManager</a> interface
methods are specified in section 3.2.4.1.</p></div>