OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2015 The Crashpad Authors. All rights reserved. | |
2 // | |
3 // Licensed under the Apache License, Version 2.0 (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 | |
6 // | |
7 // http://www.apache.org/licenses/LICENSE-2.0 | |
8 // | |
9 // Unless required by applicable law or agreed to in writing, software | |
10 // distributed under the License is distributed on an "AS IS" BASIS, | |
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
12 // See the License for the specific language governing permissions and | |
13 // limitations under the License. | |
14 | |
15 #ifndef CRASHPAD_SNAPSHOT_HANDLE_SNAPSHOT_H_ | |
16 #define CRASHPAD_SNAPSHOT_HANDLE_SNAPSHOT_H_ | |
17 | |
18 #include <stdint.h> | |
19 | |
20 #include <string> | |
21 | |
22 namespace crashpad { | |
23 | |
24 struct HandleSnapshot { | |
25 HandleSnapshot(); | |
26 ~HandleSnapshot(); | |
27 | |
28 //! \brief A string representation of the handle's type. | |
29 std::wstring type_name; | |
30 | |
31 //! \brief The handle's value. | |
32 uint32_t handle; | |
33 | |
34 //! \brief The attributes for the handle, e.g. `OBJ_INHERIT`, | |
35 //! `OBJ_CASE_INSENSITIVE`, etc. | |
36 uint32_t attributes; | |
37 | |
38 //! \brief The ACCESS_MASK for the handle in this process. Ref: | |
Mark Mentovai
2015/10/14 23:55:13
No Ref: or URL in the \brief.
scottmg
2015/10/16 20:51:02
Done.
| |
39 //! http://blogs.msdn.com/b/openspecification/archive/2010/04/01/about-the-acc ess-mask-structure.aspx | |
40 uint32_t granted_access; | |
41 | |
42 //! \brief The number of kernel references to the object that this handle | |
43 //! refers to. | |
44 uint32_t pointer_count; | |
45 | |
46 //! \brief The number of open handles to the object that this handle refers | |
47 //! to. | |
48 uint32_t handle_count; | |
49 }; | |
50 | |
51 } // namespace crashpad | |
52 | |
53 #endif // CRASHPAD_SNAPSHOT_HANDLE_SNAPSHOT_H_ | |
OLD | NEW |