| OLD | NEW |
| 1 // Copyright (c) 2006-2010 The Chromium Authors. All rights reserved. | 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 | 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 597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 608 | 608 |
| 609 typedef LONG (WINAPI *RtlCompareUnicodeStringFunction)( | 609 typedef LONG (WINAPI *RtlCompareUnicodeStringFunction)( |
| 610 IN PCUNICODE_STRING String1, | 610 IN PCUNICODE_STRING String1, |
| 611 IN PCUNICODE_STRING String2, | 611 IN PCUNICODE_STRING String2, |
| 612 IN BOOLEAN CaseInSensitive); | 612 IN BOOLEAN CaseInSensitive); |
| 613 | 613 |
| 614 typedef VOID (WINAPI *RtlInitUnicodeStringFunction) ( | 614 typedef VOID (WINAPI *RtlInitUnicodeStringFunction) ( |
| 615 IN OUT PUNICODE_STRING DestinationString, | 615 IN OUT PUNICODE_STRING DestinationString, |
| 616 IN PCWSTR SourceString); | 616 IN PCWSTR SourceString); |
| 617 | 617 |
| 618 typedef enum _EVENT_TYPE { |
| 619 NotificationEvent, |
| 620 SynchronizationEvent |
| 621 } EVENT_TYPE, *PEVENT_TYPE; |
| 622 |
| 623 typedef NTSTATUS (WINAPI* NtOpenDirectoryObjectFunction) ( |
| 624 PHANDLE DirectoryHandle, |
| 625 ACCESS_MASK DesiredAccess, |
| 626 POBJECT_ATTRIBUTES ObjectAttributes); |
| 627 |
| 628 #define DIRECTORY_QUERY 0x0001 |
| 629 #define DIRECTORY_TRAVERSE 0x0002 |
| 630 #define DIRECTORY_CREATE_OBJECT 0x0004 |
| 631 #define DIRECTORY_CREATE_SUBDIRECTORY 0x0008 |
| 632 #define DIRECTORY_ALL_ACCESS STANDARD_RIGHTS_REQUIRED | 0x000F |
| 633 |
| 618 #endif // SANDBOX_WIN_SRC_NT_INTERNALS_H__ | 634 #endif // SANDBOX_WIN_SRC_NT_INTERNALS_H__ |
| 619 | 635 |
| OLD | NEW |