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 466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
477 }; | 477 }; |
478 typename Traits::Pointer CriticalSection; | 478 typename Traits::Pointer CriticalSection; |
479 LIST_ENTRY<Traits> ProcessLocksList; | 479 LIST_ENTRY<Traits> ProcessLocksList; |
480 DWORD EntryCount; | 480 DWORD EntryCount; |
481 DWORD ContentionCount; | 481 DWORD ContentionCount; |
482 DWORD Flags; | 482 DWORD Flags; |
483 WORD CreatorBackTraceIndexHigh; | 483 WORD CreatorBackTraceIndexHigh; |
484 WORD SpareWORD; | 484 WORD SpareWORD; |
485 }; | 485 }; |
486 | 486 |
| 487 struct SYSTEM_HANDLE_TABLE_ENTRY_INFO_EX { |
| 488 void* Object; |
| 489 ULONG_PTR UniqueProcessId; |
| 490 HANDLE HandleValue; |
| 491 ULONG GrantedAccess; |
| 492 USHORT CreatorBackTraceIndex; |
| 493 USHORT ObjectTypeIndex; |
| 494 ULONG HandleAttributes; |
| 495 ULONG Reserved; |
| 496 }; |
| 497 |
| 498 struct SYSTEM_HANDLE_INFORMATION_EX { |
| 499 ULONG_PTR NumberOfHandles; |
| 500 ULONG_PTR Reserved; |
| 501 SYSTEM_HANDLE_TABLE_ENTRY_INFO_EX Handles[1]; |
| 502 }; |
| 503 |
487 #pragma pack(pop) | 504 #pragma pack(pop) |
488 | 505 |
489 //! \} | 506 //! \} |
490 | 507 |
491 } // namespace process_types | 508 } // namespace process_types |
492 } // namespace crashpad | 509 } // namespace crashpad |
493 | 510 |
494 #endif // CRASHPAD_UTIL_WIN_PROCESS_STRUCTS_H_ | 511 #endif // CRASHPAD_UTIL_WIN_PROCESS_STRUCTS_H_ |
OLD | NEW |