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

Unified Diff: util/win/process_structs.h

Issue 1400413002: win: Add Handles() to ProcessInfo (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: test Created 5 years, 2 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
« util/win/process_info_test.cc ('K') | « util/win/process_info_test.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 9c3be1811023de43ba387454e701267a3f5c86a2..be9ef0f7453525961c0bb94071f49203b44e93a1 100644
--- a/util/win/process_structs.h
+++ b/util/win/process_structs.h
@@ -454,6 +454,25 @@ struct EXCEPTION_POINTERS {
using EXCEPTION_POINTERS32 = EXCEPTION_POINTERS<internal::Traits32>;
using EXCEPTION_POINTERS64 = EXCEPTION_POINTERS<internal::Traits64>;
+template <class Traits>
+struct SYSTEM_HANDLE_TABLE_ENTRY_INFO_EX {
+ typename Traits::Pointer Object;
+ typename Traits::UnsignedIntegral UniqueProcessId;
+ typename Traits::UnsignedIntegral HandleValue;
+ ULONG GrantedAccess;
+ USHORT CreatorBackTraceIndex;
+ USHORT ObjectTypeIndex;
+ ULONG HandleAttributes;
+ ULONG Reserved;
+};
+
+template <class Traits>
+struct SYSTEM_HANDLE_INFORMATION_EX {
+ typename Traits::UnsignedIntegral NumberOfHandles;
+ typename Traits::UnsignedIntegral Reserved;
+ SYSTEM_HANDLE_TABLE_ENTRY_INFO_EX<Traits> Handles[1];
+};
+
#pragma pack(pop)
//! \}
« util/win/process_info_test.cc ('K') | « util/win/process_info_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698