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

Side by Side 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: rebase 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 unified diff | Download patch
« no previous file with comments | « util/win/process_info_test.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « util/win/process_info_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698