OLD | NEW |
1 // Copyright (c) 2006-2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2010 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 #ifndef SANDBOX_SRC_WIN_UTILS_H_ | 5 #ifndef SANDBOX_SRC_WIN_UTILS_H_ |
6 #define SANDBOX_SRC_WIN_UTILS_H_ | 6 #define SANDBOX_SRC_WIN_UTILS_H_ |
7 | 7 |
8 #include <windows.h> | 8 #include <windows.h> |
9 #include <string> | 9 #include <string> |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 bool WriteProtectedChildMemory(HANDLE child_process, void* address, | 101 bool WriteProtectedChildMemory(HANDLE child_process, void* address, |
102 const void* buffer, size_t length); | 102 const void* buffer, size_t length); |
103 | 103 |
104 } // namespace sandbox | 104 } // namespace sandbox |
105 | 105 |
106 // Resolves a function name in NTDLL to a function pointer. The second parameter | 106 // Resolves a function name in NTDLL to a function pointer. The second parameter |
107 // is a pointer to the function pointer. | 107 // is a pointer to the function pointer. |
108 void ResolveNTFunctionPtr(const char* name, void* ptr); | 108 void ResolveNTFunctionPtr(const char* name, void* ptr); |
109 | 109 |
110 #endif // SANDBOX_SRC_WIN_UTILS_H_ | 110 #endif // SANDBOX_SRC_WIN_UTILS_H_ |
OLD | NEW |