sandbox_utils.h 721 B

123456789101112131415161718192021222324
  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
  3. // found in the LICENSE file.
  4. #ifndef SANDBOX_WIN_SRC_SANDBOX_UTILS_H_
  5. #define SANDBOX_WIN_SRC_SANDBOX_UTILS_H_
  6. #include <windows.h>
  7. #include <string>
  8. #include "sandbox/win/src/nt_internals.h"
  9. namespace sandbox {
  10. void InitObjectAttribs(const std::wstring& name,
  11. ULONG attributes,
  12. HANDLE root,
  13. OBJECT_ATTRIBUTES* obj_attr,
  14. UNICODE_STRING* uni_name,
  15. SECURITY_QUALITY_OF_SERVICE* security_qos);
  16. } // namespace sandbox
  17. #endif // SANDBOX_WIN_SRC_SANDBOX_UTILS_H_