<ahref="#pub-methods">Public Member Functions</a>|
<ahref="classcrashpad_1_1internal_1_1ThreadSnapshotWin-members.html">List of all members</a></div>
<divclass="headertitle">
<divclass="title">crashpad::internal::ThreadSnapshotWin Class Reference<spanclass="mlabels"><spanclass="mlabel">final</span></span></div></div>
</div><!--header-->
<divclass="contents">
<p>A <aclass="el"href="classcrashpad_1_1ThreadSnapshot.html"title="An abstract interface to a snapshot representing a thread (lightweight process) present in a snapshot...">ThreadSnapshot</a> of a thread in a running (or crashed) process on a Windows system.
<areahref="classcrashpad_1_1ThreadSnapshot.html"title="An abstract interface to a snapshot representing a thread (lightweight process) present in a snapshot..."alt="crashpad::ThreadSnapshot"shape="rect"coords="0,0,351,24"/>
<trclass="memdesc:ab480db58d2bc69f82e5db5fef5b3592d"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Initializes the object. <ahref="#ab480db58d2bc69f82e5db5fef5b3592d">More...</a><br/></td></tr>
<trclass="memdesc:a54a30092927ae965fc1b6ca5001af532"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns a <aclass="el"href="structcrashpad_1_1CPUContext.html"title="A context structure capable of carrying the context of any supported CPU architecture. ">CPUContext</a> object corresponding to the thread’s CPU context. <ahref="#a54a30092927ae965fc1b6ca5001af532">More...</a><br/></td></tr>
<trclass="memdesc:ababd38c54c1b464ebee8a9ee4c9ab6d4"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns 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> object corresponding to the memory region that contains the thread’s stack, or <code>nullptr</code> if no stack region is available. <ahref="#ababd38c54c1b464ebee8a9ee4c9ab6d4">More...</a><br/></td></tr>
<trclass="memdesc:af04a3f18cff1a130f4f3343c1654689a"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the thread’s identifier. <ahref="#af04a3f18cff1a130f4f3343c1654689a">More...</a><br/></td></tr>
<trclass="memdesc:a3fca37fde5571302ad6ca46182ae081b"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the thread’s priority. <ahref="#a3fca37fde5571302ad6ca46182ae081b">More...</a><br/></td></tr>
<trclass="memdesc:afcf61c9e24b947176a1ecab0a0d890c5"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the base address of a region used to store thread-specific data. <br/></td></tr>
<trclass="memdesc:a994744850599adcf23bba5417a304ec2"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns a vector of additional memory blocks that should be included in a minidump. <ahref="#a994744850599adcf23bba5417a304ec2">More...</a><br/></td></tr>
<divclass="textblock"><p>A <aclass="el"href="classcrashpad_1_1ThreadSnapshot.html"title="An abstract interface to a snapshot representing a thread (lightweight process) present in a snapshot...">ThreadSnapshot</a> of a thread in a running (or crashed) process on a Windows system. </p>
</div><h2class="groupheader">Member Function Documentation</h2>
<p>Returns a <aclass="el"href="structcrashpad_1_1CPUContext.html"title="A context structure capable of carrying the context of any supported CPU architecture. ">CPUContext</a> object corresponding to the thread’s CPU context. </p>
<p>The caller does not take ownership of this object, it is scoped to the lifetime of the <aclass="el"href="classcrashpad_1_1ThreadSnapshot.html"title="An abstract interface to a snapshot representing a thread (lightweight process) present in a snapshot...">ThreadSnapshot</a> object that it was obtained from. </p>
<p>Returns a vector of additional memory blocks that should be included in a minidump. </p>
<dlclass="section return"><dt>Returns</dt><dd>A vector of <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> objects that will be included in the crash dump. The caller does not take ownership of these objects, they are scoped to the lifetime of the <aclass="el"href="classcrashpad_1_1ThreadSnapshot.html"title="An abstract interface to a snapshot representing a thread (lightweight process) present in a snapshot...">ThreadSnapshot</a> object that they were obtained from. </dd></dl>
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">process_reader</td><td>A <aclass="el"href="classcrashpad_1_1ProcessReaderWin.html"title="Accesses information about another process, identified by a HANDLE. ">ProcessReaderWin</a> for the process containing the thread. </td></tr>
<tr><tdclass="paramdir">[in]</td><tdclass="paramname">process_reader_thread</td><td>The thread within the <aclass="el"href="classcrashpad_1_1ProcessReaderWin.html"title="Accesses information about another process, identified by a HANDLE. ">ProcessReaderWin</a> for which the snapshot should be created.</td></tr>
</table>
</dd>
</dl>
<dlclass="section return"><dt>Returns</dt><dd><code>true</code> if the snapshot could be created, <code>false</code> otherwise with an appropriate message logged. </dd></dl>
<p>Returns 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> object corresponding to the memory region that contains the thread’s stack, or <code>nullptr</code> if no stack region is available. </p>
<p>The caller does not take ownership of this object, it is scoped to the lifetime of the <aclass="el"href="classcrashpad_1_1ThreadSnapshot.html"title="An abstract interface to a snapshot representing a thread (lightweight process) present in a snapshot...">ThreadSnapshot</a> object that it was obtained from. </p>