| 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 typedef NTSTATUS (WINAPI* NtQuerySymbolicLinkObjectFunction) ( |
| 629 HANDLE LinkHandle, |
| 630 PUNICODE_STRING LinkTarget, |
| 631 PULONG ReturnedLength); |
| 632 |
| 633 typedef NTSTATUS (WINAPI* NtOpenSymbolicLinkObjectFunction) ( |
| 634 PHANDLE LinkHandle, |
| 635 ACCESS_MASK DesiredAccess, |
| 636 POBJECT_ATTRIBUTES ObjectAttributes); |
| 637 |
| 638 #define DIRECTORY_QUERY 0x0001 |
| 639 #define DIRECTORY_TRAVERSE 0x0002 |
| 640 #define DIRECTORY_CREATE_OBJECT 0x0004 |
| 641 #define DIRECTORY_CREATE_SUBDIRECTORY 0x0008 |
| 642 #define DIRECTORY_ALL_ACCESS 0x000F |
| 643 |
| 618 #endif // SANDBOX_WIN_SRC_NT_INTERNALS_H__ | 644 #endif // SANDBOX_WIN_SRC_NT_INTERNALS_H__ |
| 619 | 645 |
| OLD | NEW |