OLD | NEW |
1 // Copyright 2015 The Crashpad Authors. All rights reserved. | 1 // Copyright 2015 The Crashpad Authors. All rights reserved. |
2 // | 2 // |
3 // Licensed under the Apache License, Version 2.0 (the "License"); | 3 // Licensed under the Apache License, Version 2.0 (the "License"); |
4 // you may not use this file except in compliance with the License. | 4 // you may not use this file except in compliance with the License. |
5 // You may obtain a copy of the License at | 5 // You may obtain a copy of the License at |
6 // | 6 // |
7 // http://www.apache.org/licenses/LICENSE-2.0 | 7 // http://www.apache.org/licenses/LICENSE-2.0 |
8 // | 8 // |
9 // Unless required by applicable law or agreed to in writing, software | 9 // Unless required by applicable law or agreed to in writing, software |
10 // distributed under the License is distributed on an "AS IS" BASIS, | 10 // distributed under the License is distributed on an "AS IS" BASIS, |
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
447 | 447 |
448 template <class Traits> | 448 template <class Traits> |
449 struct EXCEPTION_POINTERS { | 449 struct EXCEPTION_POINTERS { |
450 typename Traits::Pointer ExceptionRecord; | 450 typename Traits::Pointer ExceptionRecord; |
451 typename Traits::Pointer ContextRecord; | 451 typename Traits::Pointer ContextRecord; |
452 }; | 452 }; |
453 | 453 |
454 using EXCEPTION_POINTERS32 = EXCEPTION_POINTERS<internal::Traits32>; | 454 using EXCEPTION_POINTERS32 = EXCEPTION_POINTERS<internal::Traits32>; |
455 using EXCEPTION_POINTERS64 = EXCEPTION_POINTERS<internal::Traits64>; | 455 using EXCEPTION_POINTERS64 = EXCEPTION_POINTERS<internal::Traits64>; |
456 | 456 |
| 457 struct SYSTEM_HANDLE_TABLE_ENTRY_INFO_EX { |
| 458 void* Object; |
| 459 ULONG_PTR UniqueProcessId; |
| 460 HANDLE HandleValue; |
| 461 ULONG GrantedAccess; |
| 462 USHORT CreatorBackTraceIndex; |
| 463 USHORT ObjectTypeIndex; |
| 464 ULONG HandleAttributes; |
| 465 ULONG Reserved; |
| 466 }; |
| 467 |
| 468 struct SYSTEM_HANDLE_INFORMATION_EX { |
| 469 ULONG_PTR NumberOfHandles; |
| 470 ULONG_PTR Reserved; |
| 471 SYSTEM_HANDLE_TABLE_ENTRY_INFO_EX Handles[1]; |
| 472 }; |
| 473 |
457 #pragma pack(pop) | 474 #pragma pack(pop) |
458 | 475 |
459 //! \} | 476 //! \} |
460 | 477 |
461 } // namespace process_types | 478 } // namespace process_types |
462 } // namespace crashpad | 479 } // namespace crashpad |
463 | 480 |
464 #endif // CRASHPAD_UTIL_WIN_PROCESS_STRUCTS_H_ | 481 #endif // CRASHPAD_UTIL_WIN_PROCESS_STRUCTS_H_ |
OLD | NEW |