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 16 matching lines...) Expand all Loading... |
27 struct RegistrationRequest { | 27 struct RegistrationRequest { |
28 //! \brief The PID of the client process. | 28 //! \brief The PID of the client process. |
29 DWORD client_process_id; | 29 DWORD client_process_id; |
30 //! \brief The address, in the client process address space, of a CrashpadInfo | 30 //! \brief The address, in the client process address space, of a CrashpadInfo |
31 //! structure. | 31 //! structure. |
32 crashpad::WinVMAddress crashpad_info_address; | 32 crashpad::WinVMAddress crashpad_info_address; |
33 }; | 33 }; |
34 #pragma pack(pop) | 34 #pragma pack(pop) |
35 | 35 |
36 #pragma pack(push, 1) | 36 #pragma pack(push, 1) |
37 //! \brief A client registration response. See | 37 //! \brief A client registration response. |
38 //! https://msdn.microsoft.com/en-us/library/windows/desktop/aa384203 for | 38 //! |
39 //! details on communicating handle values between 32-bit and 64-bit | 39 //! See <a |
40 //! processes. | 40 //! href="https://msdn.microsoft.com/en-us/library/windows/desktop/aa384203">Int
erprocess |
| 41 //! Communication Between 32-bit and 64-bit Applications</a> for details on |
| 42 //! communicating handle values between processes of varying bitness. |
41 struct RegistrationResponse { | 43 struct RegistrationResponse { |
42 //! \brief An event `HANDLE`, valid in the client process, that should be | 44 //! \brief An event `HANDLE`, valid in the client process, that should be |
43 //! signaled to request a crash report. 64-bit clients should convert the | 45 //! signaled to request a crash report. 64-bit clients should convert the |
44 //! value to a `HANDLE` using sign-extension. | 46 //! value to a `HANDLE` using sign-extension. |
45 uint32_t request_report_event; | 47 uint32_t request_report_event; |
46 //! \brief An event `HANDLE`, valid in the client process, that will be | 48 //! \brief An event `HANDLE`, valid in the client process, that will be |
47 //! signaled when the requested crash report is complete. 64-bit clients | 49 //! signaled when the requested crash report is complete. 64-bit clients |
48 //! should convert the value to a `HANDLE` using sign-extension. | 50 //! should convert the value to a `HANDLE` using sign-extension. |
49 uint32_t report_complete_event; | 51 uint32_t report_complete_event; |
50 }; | 52 }; |
51 #pragma pack(pop) | 53 #pragma pack(pop) |
52 | 54 |
53 } // namespace crashpad | 55 } // namespace crashpad |
54 | 56 |
55 #endif // CRASHPAD_CLIENT_REGISTRATION_PROTOCOL_WIN_H_ | 57 #endif // CRASHPAD_CLIENT_REGISTRATION_PROTOCOL_WIN_H_ |
OLD | NEW |