OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef SANDBOX_TESTS_COMMON_TEST_UTILS_H_ | |
6 #define SANDBOX_TESTS_COMMON_TEST_UTILS_H_ | |
7 | |
8 #include <windows.h> | |
9 | |
10 // Sets a reparse point. |source| will now point to |target|. Returns true if | |
11 // the call succeeds, false otherwise. | |
12 bool SetReparsePoint(HANDLE source, const wchar_t* target); | |
13 | |
14 // Delete the reparse point referenced by |source|. Returns true if the call | |
15 // succeeds, false otherwise. | |
16 bool DeleteReparsePoint(HANDLE source); | |
17 | |
18 #endif // SANDBOX_TESTS_COMMON_TEST_UTILS_H_ | |
19 | |
OLD | NEW |