OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 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 #include <windows.h> |
| 6 |
| 7 #include "base/win/windows_version.h" |
| 8 |
| 9 namespace sandbox { |
| 10 // These helper functions are not expected to be used generally, but are exposed |
| 11 // only to allow direct testing of this functionality. |
| 12 |
| 13 // Return the flags for this heap handle. Limited verification of the handle is |
| 14 // performed. No verification of the flags is performed. |
| 15 bool HeapFlags(HANDLE handle, DWORD* flags); |
| 16 |
| 17 // Return the handle to the CSR Port Heap, return nullptr if none or more than |
| 18 // one candidate was found. |
| 19 HANDLE FindCsrPortHeap(); |
| 20 |
| 21 } // namespace sandbox |
OLD | NEW |