<ahref="#pub-methods">Public Member Functions</a>|
<ahref="classcrashpad_1_1internal_1_1MemorySnapshotWin-members.html">List of all members</a></div>
<divclass="headertitle">
<divclass="title">crashpad::internal::MemorySnapshotWin Class Reference<spanclass="mlabels"><spanclass="mlabel">final</span></span></div></div>
</div><!--header-->
<divclass="contents">
<p>A <aclass="el"href="classcrashpad_1_1MemorySnapshot.html"title="An abstract interface to a snapshot representing a region of memory present in a snapshot process...">MemorySnapshot</a> of a memory region in a process on the running system, when the system runs Windows.
<areahref="classcrashpad_1_1MemorySnapshot.html"title="An abstract interface to a snapshot representing a region of memory present in a snapshot process..."alt="crashpad::MemorySnapshot"shape="rect"coords="213,0,629,24"/>
<trclass="memdesc:aba9666e3a899f90124650bce6e3dfc82"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Initializes the object. <ahref="#aba9666e3a899f90124650bce6e3dfc82">More...</a><br/></td></tr>
<trclass="memdesc:a7fd05a6ca61b937e902bac43b03c08c7"><tdclass="mdescLeft"> </td><tdclass="mdescRight">The base address of the memory snapshot in the snapshot process’ address space. <br/></td></tr>
<trclass="memdesc:a5f30decda61769a4fefd65b4be40a831"><tdclass="mdescLeft"> </td><tdclass="mdescRight">The size of the memory snapshot. <br/></td></tr>
<trclass="memdesc:a565c0d86ca3c1a8fa3bc6ab296962de0"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Calls <aclass="el"href="classcrashpad_1_1MemorySnapshot_1_1Delegate.html#a844f77076dc607ce0cd8946aea75f73b"title="Called by MemorySnapshot::Read() to provide data requested by a call to that method. ">Delegate::MemorySnapshotDelegateRead()</a>, providing it with the memory snapshot’s data. <ahref="#a565c0d86ca3c1a8fa3bc6ab296962de0">More...</a><br/></td></tr>
<divclass="textblock"><p>A <aclass="el"href="classcrashpad_1_1MemorySnapshot.html"title="An abstract interface to a snapshot representing a region of memory present in a snapshot process...">MemorySnapshot</a> of a memory region in a process on the running system, when the system runs Windows. </p>
</div><h2class="groupheader">Member Function Documentation</h2>
<p>Memory is read lazily. No attempt is made to read the memory snapshot data until <aclass="el"href="classcrashpad_1_1internal_1_1MemorySnapshotWin.html#a565c0d86ca3c1a8fa3bc6ab296962de0"title="Calls Delegate::MemorySnapshotDelegateRead(), providing it with the memory snapshot’s data...">Read()</a> is called, and the memory snapshot data is discared when <aclass="el"href="classcrashpad_1_1internal_1_1MemorySnapshotWin.html#a565c0d86ca3c1a8fa3bc6ab296962de0"title="Calls Delegate::MemorySnapshotDelegateRead(), providing it with the memory snapshot’s data...">Read()</a> returns.</p>
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">process_reader</td><td>A reader for the process being snapshotted. </td></tr>
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">address</td><td>The base address of the memory region to snapshot, in the snapshot process' address space. </td></tr>
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">size</td><td>The size of the memory region to snapshot. </td></tr>
<p>Calls <aclass="el"href="classcrashpad_1_1MemorySnapshot_1_1Delegate.html#a844f77076dc607ce0cd8946aea75f73b"title="Called by MemorySnapshot::Read() to provide data requested by a call to that method. ">Delegate::MemorySnapshotDelegateRead()</a>, providing it with the memory snapshot’s data. </p>
<p>Implementations do not necessarily read the memory snapshot data prior to this method being called. Memory snapshot data may be loaded lazily and may be discarded after being passed to the delegate. This provides clean memory management without burdening a snapshot implementation with the requirement that it track all memory region data simultaneously.</p>
<dlclass="section return"><dt>Returns</dt><dd><code>false</code> on failure, otherwise, the return value of <aclass="el"href="classcrashpad_1_1MemorySnapshot_1_1Delegate.html#a844f77076dc607ce0cd8946aea75f73b"title="Called by MemorySnapshot::Read() to provide data requested by a call to that method. ">Delegate::MemorySnapshotDelegateRead()</a>, which should be <code>true</code> on success and <code>false</code> on failure. </dd></dl>