root/sandbox/win/tests/common/test_utils.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


// Copyright (c) 2006-2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef SANDBOX_TESTS_COMMON_TEST_UTILS_H_
#define SANDBOX_TESTS_COMMON_TEST_UTILS_H_

#include <windows.h>

// Sets a reparse point. |source| will now point to |target|. Returns true if
// the call succeeds, false otherwise.
bool SetReparsePoint(HANDLE source, const wchar_t* target);

// Delete the reparse point referenced by |source|. Returns true if the call
// succeeds, false otherwise.
bool DeleteReparsePoint(HANDLE source);

#endif  // SANDBOX_TESTS_COMMON_TEST_UTILS_H_


/* [<][>][^][v][top][bottom][index][help] */