OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "sandbox/win/src/nt_internals.h" | 5 #include "sandbox/win/src/nt_internals.h" |
6 #include "sandbox/win/src/sandbox_types.h" | 6 #include "sandbox/win/src/sandbox_types.h" |
7 | 7 |
8 #ifndef SANDBOX_SRC_INTERCEPTORS_64_H_ | 8 #ifndef SANDBOX_SRC_INTERCEPTORS_64_H_ |
9 #define SANDBOX_SRC_INTERCEPTORS_64_H_ | 9 #define SANDBOX_SRC_INTERCEPTORS_64_H_ |
10 | 10 |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 SANDBOX_INTERCEPT BOOL WINAPI TargetGdiDllInitialize64( | 161 SANDBOX_INTERCEPT BOOL WINAPI TargetGdiDllInitialize64( |
162 HANDLE dll, | 162 HANDLE dll, |
163 DWORD reason); | 163 DWORD reason); |
164 | 164 |
165 // Interceptor for the GetStockObject function. | 165 // Interceptor for the GetStockObject function. |
166 SANDBOX_INTERCEPT HGDIOBJ WINAPI TargetGetStockObject64(int object); | 166 SANDBOX_INTERCEPT HGDIOBJ WINAPI TargetGetStockObject64(int object); |
167 | 167 |
168 // Interceptor for the RegisterClassW function. | 168 // Interceptor for the RegisterClassW function. |
169 SANDBOX_INTERCEPT ATOM WINAPI TargetRegisterClassW64(const WNDCLASS* wnd_class); | 169 SANDBOX_INTERCEPT ATOM WINAPI TargetRegisterClassW64(const WNDCLASS* wnd_class); |
170 | 170 |
| 171 // Interceptor for NtAlpcConnectPort |
| 172 SANDBOX_INTERCEPT NTSTATUS WINAPI TargetNtAlpcConnectPort64( |
| 173 PHANDLE port_handle, |
| 174 PUNICODE_STRING port_name, |
| 175 POBJECT_ATTRIBUTES object_attributes, |
| 176 PALPC_PORT_ATTRIBUTES port_attributes, |
| 177 ULONG flags, |
| 178 void* sid, |
| 179 void* connection_message, |
| 180 ULONG* buffer_length, |
| 181 void* out_message_attributes, |
| 182 void* in_message_attributes, |
| 183 PLARGE_INTEGER timeout); |
| 184 |
171 } // extern "C" | 185 } // extern "C" |
172 | 186 |
173 } // namespace sandbox | 187 } // namespace sandbox |
174 | 188 |
175 #endif // SANDBOX_SRC_INTERCEPTORS_64_H_ | 189 #endif // SANDBOX_SRC_INTERCEPTORS_64_H_ |
OLD | NEW |