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

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

Issue 2585883002: Update Crashpad to 0567536f86fb10f9663fb30d6ebf08a7c35b975d (Closed)
Patch Set: Created 4 years 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 0a80fd533a7111f8697568769c82ef33bb9e3172..41e5fa448fc5254773b673d46d908d06b79bc7b6 100644
--- a/third_party/crashpad/crashpad/util/win/nt_internals.h
+++ b/third_party/crashpad/crashpad/util/win/nt_internals.h
@@ -75,10 +75,7 @@ NTSTATUS NtSuspendProcess(HANDLE handle);
NTSTATUS NtResumeProcess(HANDLE handle);
-// 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
-
+// From https://msdn.microsoft.com/en-us/library/cc678403(v=vs.85).aspx.
template <class Traits>
struct RTL_UNLOAD_EVENT_TRACE {
typename Traits::Pointer BaseAddress;
@@ -87,14 +84,10 @@ struct RTL_UNLOAD_EVENT_TRACE {
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();
+void RtlGetUnloadEventTraceEx(ULONG** element_size,
+ ULONG** element_count,
+ void** event_trace);
} // namespace crashpad

Powered by Google App Engine
This is Rietveld 408576698