blob: 24150dd2140cce0f7756bbed136b97ad37ff3f42 [file] [log] [blame]
<!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">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Crashpad: MINIDUMP_THREAD Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="crashpad_doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">Crashpad
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="structMINIDUMP__THREAD-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">MINIDUMP_THREAD Struct Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Information about a specific thread within the process.
<a href="structMINIDUMP__THREAD.html#details">More...</a></p>
<p><code>#include &quot;dbghelp.h&quot;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:a1d2508187af6c3ec09e5836badb56fd2"><td class="memItemLeft" align="right" valign="top"><a id="a1d2508187af6c3ec09e5836badb56fd2"></a>
uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMINIDUMP__THREAD.html#a1d2508187af6c3ec09e5836badb56fd2">ThreadId</a></td></tr>
<tr class="memdesc:a1d2508187af6c3ec09e5836badb56fd2"><td class="mdescLeft">&#160;</td><td class="mdescRight">The thread’s ID. This may be referenced by <a class="el" href="structMINIDUMP__EXCEPTION__STREAM.html#a086c9170bbe85b667b65f90fca98bf95" title="The ID of the thread that caused the exception. ">MINIDUMP_EXCEPTION_STREAM::ThreadId</a>. <br /></td></tr>
<tr class="separator:a1d2508187af6c3ec09e5836badb56fd2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ab33039a1c9f00facc2a137a74cbc06"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMINIDUMP__THREAD.html#a3ab33039a1c9f00facc2a137a74cbc06">SuspendCount</a></td></tr>
<tr class="memdesc:a3ab33039a1c9f00facc2a137a74cbc06"><td class="mdescLeft">&#160;</td><td class="mdescRight">The thread’s suspend count. <a href="#a3ab33039a1c9f00facc2a137a74cbc06">More...</a><br /></td></tr>
<tr class="separator:a3ab33039a1c9f00facc2a137a74cbc06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71433cd417ed888184cc1e6d812179e8"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMINIDUMP__THREAD.html#a71433cd417ed888184cc1e6d812179e8">PriorityClass</a></td></tr>
<tr class="memdesc:a71433cd417ed888184cc1e6d812179e8"><td class="mdescLeft">&#160;</td><td class="mdescRight">The thread’s priority class. <a href="#a71433cd417ed888184cc1e6d812179e8">More...</a><br /></td></tr>
<tr class="separator:a71433cd417ed888184cc1e6d812179e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a827e9473261cc0d4c69a28a243d635"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMINIDUMP__THREAD.html#a0a827e9473261cc0d4c69a28a243d635">Priority</a></td></tr>
<tr class="memdesc:a0a827e9473261cc0d4c69a28a243d635"><td class="mdescLeft">&#160;</td><td class="mdescRight">The thread’s priority level. <a href="#a0a827e9473261cc0d4c69a28a243d635">More...</a><br /></td></tr>
<tr class="separator:a0a827e9473261cc0d4c69a28a243d635"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78e39b500ecbe680092406abd6aee3f3"><td class="memItemLeft" align="right" valign="top">uint64_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMINIDUMP__THREAD.html#a78e39b500ecbe680092406abd6aee3f3">Teb</a></td></tr>
<tr class="memdesc:a78e39b500ecbe680092406abd6aee3f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">The address of the thread’s thread environment block in the address space of the process that the minidump file contains a snapshot of. <a href="#a78e39b500ecbe680092406abd6aee3f3">More...</a><br /></td></tr>
<tr class="separator:a78e39b500ecbe680092406abd6aee3f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4affab2d1a0995fdb085d302d78fbb81"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structMINIDUMP__MEMORY__DESCRIPTOR.html">MINIDUMP_MEMORY_DESCRIPTOR</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMINIDUMP__THREAD.html#a4affab2d1a0995fdb085d302d78fbb81">Stack</a></td></tr>
<tr class="memdesc:a4affab2d1a0995fdb085d302d78fbb81"><td class="mdescLeft">&#160;</td><td class="mdescRight">A snapshot of the thread’s stack. <a href="#a4affab2d1a0995fdb085d302d78fbb81">More...</a><br /></td></tr>
<tr class="separator:a4affab2d1a0995fdb085d302d78fbb81"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4bea75c1a353e346689b97aeaea22184"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structMINIDUMP__LOCATION__DESCRIPTOR.html">MINIDUMP_LOCATION_DESCRIPTOR</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structMINIDUMP__THREAD.html#a4bea75c1a353e346689b97aeaea22184">ThreadContext</a></td></tr>
<tr class="memdesc:a4bea75c1a353e346689b97aeaea22184"><td class="mdescLeft">&#160;</td><td class="mdescRight">A pointer to a CPU-specific CONTEXT structure containing the thread’s context at the time the snapshot was taken. <a href="#a4bea75c1a353e346689b97aeaea22184">More...</a><br /></td></tr>
<tr class="separator:a4bea75c1a353e346689b97aeaea22184"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Information about a specific thread within the process. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="structMINIDUMP__THREAD__LIST.html" title="Information about all threads within the process. ">MINIDUMP_THREAD_LIST</a> </dd></dl>
</div><h2 class="groupheader">Member Data Documentation</h2>
<a id="a0a827e9473261cc0d4c69a28a243d635"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0a827e9473261cc0d4c69a28a243d635">&#9670;&nbsp;</a></span>Priority</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32_t MINIDUMP_THREAD::Priority</td>
</tr>
</table>
</div><div class="memdoc">
<p>The thread’s priority level. </p>
<p>On Windows, this is a <code>THREAD_PRIORITY_*</code> value. <code>THREAD_PRIORITY_NORMAL</code> has value <code>0</code>; higher priorities have higher values, and lower priorities have lower (negative) values. </p>
</div>
</div>
<a id="a71433cd417ed888184cc1e6d812179e8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a71433cd417ed888184cc1e6d812179e8">&#9670;&nbsp;</a></span>PriorityClass</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32_t MINIDUMP_THREAD::PriorityClass</td>
</tr>
</table>
</div><div class="memdoc">
<p>The thread’s priority class. </p>
<p>On Windows, this is a <code>*_PRIORITY_CLASS</code> value. <code>NORMAL_PRIORITY_CLASS</code> has value <code>0x20</code>; higher priority classes have higher values. </p>
</div>
</div>
<a id="a4affab2d1a0995fdb085d302d78fbb81"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4affab2d1a0995fdb085d302d78fbb81">&#9670;&nbsp;</a></span>Stack</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structMINIDUMP__MEMORY__DESCRIPTOR.html">MINIDUMP_MEMORY_DESCRIPTOR</a> MINIDUMP_THREAD::Stack</td>
</tr>
</table>
</div><div class="memdoc">
<p>A snapshot of the thread’s stack. </p>
<p>A <a class="el" href="structMINIDUMP__MEMORY__DESCRIPTOR.html" title="A pointer to a snapshot of a region of memory contained within a minidump file. ">MINIDUMP_MEMORY_DESCRIPTOR</a> may be present in the <a class="el" href="structMINIDUMP__MEMORY__LIST.html" title="Information about memory regions within the process. ">MINIDUMP_MEMORY_LIST</a> stream containing a pointer to the same memory range referenced by this field. </p>
</div>
</div>
<a id="a3ab33039a1c9f00facc2a137a74cbc06"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3ab33039a1c9f00facc2a137a74cbc06">&#9670;&nbsp;</a></span>SuspendCount</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint32_t MINIDUMP_THREAD::SuspendCount</td>
</tr>
</table>
</div><div class="memdoc">
<p>The thread’s suspend count. </p>
<p>This field will be <code>0</code> if the thread is schedulable (not suspended). </p>
</div>
</div>
<a id="a78e39b500ecbe680092406abd6aee3f3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a78e39b500ecbe680092406abd6aee3f3">&#9670;&nbsp;</a></span>Teb</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">uint64_t MINIDUMP_THREAD::Teb</td>
</tr>
</table>
</div><div class="memdoc">
<p>The address of the thread’s thread environment block in the address space of the process that the minidump file contains a snapshot of. </p>
<p>The thread environment block contains thread-local data.</p>
<p>A <a class="el" href="structMINIDUMP__MEMORY__DESCRIPTOR.html" title="A pointer to a snapshot of a region of memory contained within a minidump file. ">MINIDUMP_MEMORY_DESCRIPTOR</a> may be present in the <a class="el" href="structMINIDUMP__MEMORY__LIST.html" title="Information about memory regions within the process. ">MINIDUMP_MEMORY_LIST</a> stream containing the thread-local data pointed to by this field. </p>
</div>
</div>
<a id="a4bea75c1a353e346689b97aeaea22184"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4bea75c1a353e346689b97aeaea22184">&#9670;&nbsp;</a></span>ThreadContext</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="structMINIDUMP__LOCATION__DESCRIPTOR.html">MINIDUMP_LOCATION_DESCRIPTOR</a> MINIDUMP_THREAD::ThreadContext</td>
</tr>
</table>
</div><div class="memdoc">
<p>A pointer to a CPU-specific CONTEXT structure containing the thread’s context at the time the snapshot was taken. </p>
<p>If the minidump file was generated as a result of an exception taken on this thread, this field may identify a different context than the exception context. For these minidump files, a <a class="el" href="structMINIDUMP__EXCEPTION__STREAM.html" title="Information about the exception that triggered a minidump file’s generation. ">MINIDUMP_EXCEPTION_STREAM</a> stream will be present, and the context contained within that stream will be the exception context.</p>
<p>The interpretation of the context structure is dependent on the CPU architecture identified by <a class="el" href="structMINIDUMP__SYSTEM__INFO.html#adc85b29d7df8943baf1a96af23051ca8" title="The system’s CPU architecture. This may be a PROCESSOR_ARCHITECTURE_* value, or a member of crashpad...">MINIDUMP_SYSTEM_INFO::ProcessorArchitecture</a>. For <a class="el" href="namespacecrashpad.html#a98e532bb06fc5ffdd93e0ceb6d789eb1a667f84537acd054ce17f527bcd41c885" title="32-bit x86. ">crashpad::kMinidumpCPUArchitectureX86</a>, this will be <a class="el" href="structcrashpad_1_1MinidumpContextX86.html" title="A 32-bit x86 CPU context (register state) carried in a minidump file. ">crashpad::MinidumpContextX86</a>. For <a class="el" href="namespacecrashpad.html#a98e532bb06fc5ffdd93e0ceb6d789eb1a74c0fcddcbf1502d7dedc7cd965550df" title="64-bit x86. ">crashpad::kMinidumpCPUArchitectureAMD64</a>, this will be <a class="el" href="structcrashpad_1_1MinidumpContextAMD64.html" title="An x86_64 (AMD64) CPU context (register state) carried in a minidump file. ">crashpad::MinidumpContextAMD64</a>. </p>
</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li>compat/non_win/<a class="el" href="dbghelp_8h.html">dbghelp.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.14
</small></address>
</body>
</html>