OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 // This file holds definitions related to the ntdll API. | 5 // This file holds definitions related to the ntdll API. |
6 | 6 |
7 #ifndef SANDBOX_WIN_SRC_NT_INTERNALS_H__ | 7 #ifndef SANDBOX_WIN_SRC_NT_INTERNALS_H__ |
8 #define SANDBOX_WIN_SRC_NT_INTERNALS_H__ | 8 #define SANDBOX_WIN_SRC_NT_INTERNALS_H__ |
9 | 9 |
10 #include <windows.h> | 10 #include <windows.h> |
(...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
679 IN PVOID process_information, | 679 IN PVOID process_information, |
680 IN ULONG information_length); | 680 IN ULONG information_length); |
681 | 681 |
682 struct PROCESS_ACCESS_TOKEN { | 682 struct PROCESS_ACCESS_TOKEN { |
683 HANDLE token; | 683 HANDLE token; |
684 HANDLE thread; | 684 HANDLE thread; |
685 }; | 685 }; |
686 | 686 |
687 const unsigned int NtProcessInformationAccessToken = 9; | 687 const unsigned int NtProcessInformationAccessToken = 9; |
688 | 688 |
| 689 typedef struct _ALPC_PORT_ATTRIBUTES { |
| 690 ULONG flags; |
| 691 SECURITY_QUALITY_OF_SERVICE qos; |
| 692 SIZE_T max_message_length; |
| 693 SIZE_T memory_bandwidth; |
| 694 SIZE_T max_pool_usage; |
| 695 SIZE_T max_section_size; |
| 696 SIZE_T max_view_size; |
| 697 SIZE_T max_total_section_size; |
| 698 ULONG dup_object_types; |
| 699 #ifdef _WIN64 |
| 700 ULONG reserved; |
| 701 #endif |
| 702 } ALPC_PORT_ATTRIBUTES, *PALPC_PORT_ATTRIBUTES; |
| 703 |
689 #endif // SANDBOX_WIN_SRC_NT_INTERNALS_H__ | 704 #endif // SANDBOX_WIN_SRC_NT_INTERNALS_H__ |
690 | 705 |
OLD | NEW |