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

Unified Diff: third_party/crashpad/crashpad/util/win/nt_internals.h

Issue 1704203004: Update Crashpad to badfacccee01895719d2aeb3ac50f64854abf10c (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn Created 4 years, 10 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
Index: third_party/crashpad/crashpad/util/win/nt_internals.h
diff --git a/third_party/crashpad/crashpad/util/win/nt_internals.h b/third_party/crashpad/crashpad/util/win/nt_internals.h
index aab884f54cc4c43ecdb101a742fd126e472d2152..b6221018890d3c1da79ca960c8882d8ab364ff5d 100644
--- a/third_party/crashpad/crashpad/util/win/nt_internals.h
+++ b/third_party/crashpad/crashpad/util/win/nt_internals.h
@@ -54,4 +54,26 @@ NTSTATUS NtQueryObject(HANDLE handle,
ULONG object_information_length,
ULONG* return_length);
+// From https://msdn.microsoft.com/en-us/library/bb432428(VS.85).aspx and
+// http://processhacker.sourceforge.net/doc/struct___r_t_l___u_n_l_o_a_d___e_v_e_n_t___t_r_a_c_e.html
+#define RTL_UNLOAD_EVENT_TRACE_NUMBER 64
+
+template <class Traits>
+struct RTL_UNLOAD_EVENT_TRACE {
+ typename Traits::Pointer BaseAddress;
+ typename Traits::UnsignedIntegral SizeOfImage;
+ ULONG Sequence;
+ ULONG TimeDateStamp;
+ ULONG CheckSum;
+ WCHAR ImageName[32];
+ ULONG Version0;
+ union {
+ ULONG Version1;
+ typename Traits::Pad alignment_for_x64;
+ };
+};
+
+template <class Traits>
+RTL_UNLOAD_EVENT_TRACE<Traits>* RtlGetUnloadEventTrace();
+
} // namespace crashpad

Powered by Google App Engine
This is Rietveld 408576698