<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,232,24"/>
<trclass="memdesc:a9a4fca61ed97be513ed9e1e4153e43cd"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Initializes the object. <ahref="#a9a4fca61ed97be513ed9e1e4153e43cd">More...</a><br/></td></tr>
<trclass="memdesc:a940a3771e98c08da18307b2309ca7357"><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="#a940a3771e98c08da18307b2309ca7357">More...</a><br/></td></tr>
<trclass="memdesc:ac069bf4439cbb2be3b243460d7717826"><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="#ac069bf4439cbb2be3b243460d7717826">More...</a><br/></td></tr>
<trclass="memdesc:aaedbdde56b7ba7c6c271758da0fcb1e2"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the thread’s identifier. <ahref="#aaedbdde56b7ba7c6c271758da0fcb1e2">More...</a><br/></td></tr>
<trclass="memdesc:a84dae6824c9bda4fe6d459ea032dd28a"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the thread’s priority. <ahref="#a84dae6824c9bda4fe6d459ea032dd28a">More...</a><br/></td></tr>
<trclass="memdesc:ac1d36f879e8f4ccc6e195b4ef64cf1c7"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns the base address of a region used to store thread-specific data. <br/></td></tr>
<trclass="memdesc:a00c30606d4e1a7a8f43b4c89b3fc4e8e"><tdclass="mdescLeft"> </td><tdclass="mdescRight">Returns a vector of additional memory blocks that should be included in a minidump. <ahref="#a00c30606d4e1a7a8f43b4c89b3fc4e8e">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>
<tr><tdclass="paramdir">[in,out]</td><tdclass="paramname">gather_indirectly_referenced_memory_bytes_remaining</td><td>If non-null, add extra memory regions to the snapshot pointed to by the thread's stack. The size of the regions added is subtracted from the count, and when it's <code>0</code>, no more regions will be added.</td></tr>
<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>