OLD | NEW |
---|---|
1 // Copyright 2014 The Crashpad Authors. All rights reserved. | 1 // Copyright 2014 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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
172 //! | 172 //! |
173 //! \brief Operating system family values for MINIDUMP_SYSTEM_INFO::PlatformId. | 173 //! \brief Operating system family values for MINIDUMP_SYSTEM_INFO::PlatformId. |
174 //! | 174 //! |
175 //! \sa crashpad::MinidumpOS | 175 //! \sa crashpad::MinidumpOS |
176 //! \{ | 176 //! \{ |
177 #define VER_PLATFORM_WIN32s 0 | 177 #define VER_PLATFORM_WIN32s 0 |
178 #define VER_PLATFORM_WIN32_WINDOWS 1 | 178 #define VER_PLATFORM_WIN32_WINDOWS 1 |
179 #define VER_PLATFORM_WIN32_NT 2 | 179 #define VER_PLATFORM_WIN32_NT 2 |
180 //! \} | 180 //! \} |
181 | 181 |
182 //! \anchor PAGE_* | |
Mark Mentovai
2015/10/12 14:34:46
PAGE_x, because a * won’t work here. Same on line
Mark Mentovai
2015/10/12 14:47:30
Mark Mentovai wrote:
scottmg
2015/10/13 19:51:29
Done.
| |
183 //! \name PAGE_* | |
184 //! | |
185 //! \brief Memory protection constants for MINIDUMP_MEMORY_INFO::Protect and | |
186 //! MINIDUMP_MEMORY_INFO::AllocationProtect. | |
187 //! \{ | |
188 #define PAGE_NOACCESS 0x01 | |
Mark Mentovai
2015/10/12 14:34:46
Meh on the leading zeroes, which none of the other
scottmg
2015/10/13 19:51:29
Done.
| |
189 #define PAGE_READONLY 0x02 | |
190 #define PAGE_READWRITE 0x04 | |
191 #define PAGE_WRITECOPY 0x08 | |
192 #define PAGE_EXECUTE 0x10 | |
193 #define PAGE_EXECUTE_READ 0x20 | |
194 #define PAGE_EXECUTE_READWRITE 0x40 | |
195 #define PAGE_EXECUTE_WRITECOPY 0x80 | |
196 #define PAGE_GUARD 0x100 | |
197 #define PAGE_NOCACHE 0x200 | |
198 #define PAGE_WRITECOMBINE 0x400 | |
199 //! \} | |
200 | |
201 //! \anchor MEM_* | |
202 //! \name MEM_* | |
203 //! | |
204 //! \brief Memory state and type constants for MINIDUMP_MEMORY_INFO::State and | |
205 //! MINIDUMP_MEMORY_INFO::Type. | |
206 //! \{ | |
207 #define MEM_COMMIT 0x1000 | |
208 #define MEM_RESERVE 0x2000 | |
209 #define MEM_DECOMMIT 0x4000 | |
210 #define MEM_RELEASE 0x8000 | |
211 #define MEM_FREE 0x10000 | |
212 #define MEM_PRIVATE 0x20000 | |
213 #define MEM_MAPPED 0x40000 | |
214 #define MEM_RESET 0x80000 | |
215 //! \} | |
216 | |
182 #endif // CRASHPAD_COMPAT_NON_WIN_WINNT_H_ | 217 #endif // CRASHPAD_COMPAT_NON_WIN_WINNT_H_ |
OLD | NEW |