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_CLIENT_REGISTRATION_PROTOCOL_WIN_H_ | |
16 #define CRASHPAD_CLIENT_REGISTRATION_PROTOCOL_WIN_H_ | |
17 | |
18 #include <windows.h> | |
19 | |
20 #include "util/win/address_types.h" | |
21 | |
22 namespace crashpad { | |
23 | |
24 //! \brief A client registration request. | |
25 #pragma pack(push,1) | |
scottmg
2015/05/21 02:32:36
I think better to move these above the \brief line
scottmg
2015/05/21 02:32:36
Space after comma, and below.
erikwright (departed)
2015/05/21 15:12:37
Done.
erikwright (departed)
2015/05/21 15:12:37
Done.
| |
26 struct RegistrationRequest { | |
27 //! \brief The PID of the client process. | |
28 DWORD client_process_id; | |
29 //! \brief The address, in the client process address space, of a CrashpadInfo | |
30 //! structure. | |
31 crashpad::WinVMAddress crashpad_info_address; | |
32 }; | |
33 #pragma pack(pop) | |
34 | |
35 //! \brief A client registration response. | |
36 #pragma pack(push,1) | |
37 struct RegistrationResponse { | |
38 //! \brief An event handle, valid in the client process, that should be | |
39 //! signaled to request a crash report. | |
40 HANDLE request_report_event; | |
41 //! \brief An event handle, valid in the client process, that will be signaled | |
42 //! when the requested crash report is complete. | |
43 HANDLE report_complete_event; | |
44 }; | |
45 #pragma pack(pop) | |
46 | |
47 } // namespace crashpad | |
48 | |
49 #endif // CRASHPAD_CLIENT_REGISTRATION_PROTOCOL_WIN_H_ | |
OLD | NEW |