Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(171)

Unified Diff: util/win/process_structs.h

Issue 1126413008: win: Implement exception snapshot (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: tidy Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« snapshot/win/process_snapshot_win.cc ('K') | « util/win/nt_internals.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: util/win/process_structs.h
diff --git a/util/win/process_structs.h b/util/win/process_structs.h
index 65f0aac01109c38b4de2d302abcd007f745f8324..6055079d25947c49f218edadabd007095daf94a0 100644
--- a/util/win/process_structs.h
+++ b/util/win/process_structs.h
@@ -343,6 +343,20 @@ struct SYSTEM_EXTENDED_THREAD_INFORMATION {
typename Traits::Pointer Reserved3;
};
+// See http://undocumented.ntinternals.net/source/usermode/structures/thread_basic_information.html.
scottmg 2015/08/18 16:56:00 No longer needed (was for GetThreadId()).
+template <class Traits>
+struct THREAD_BASIC_INFORMATION {
+ union {
+ DWORD ExitStatus;
+ typename Traits::Pad padding_for_x64;
+ };
+ typename Traits::Pointer TebBaseAddress;
+ CLIENT_ID<Traits> ClientId;
+ typename Traits::Pointer AffinityMask;
+ LONG Priority;
+ LONG BasePriority;
+};
+
// See http://undocumented.ntinternals.net/source/usermode/undocumented%20functions/system%20information/structures/system_process_information.html
template <class Traits>
struct SYSTEM_PROCESS_INFORMATION {
« snapshot/win/process_snapshot_win.cc ('K') | « util/win/nt_internals.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698