Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1926)

Side by Side Diff: sandbox/win/src/nt_internals.h

Issue 31933005: Replace the CreateEvent/OpenEvent patches with their Nt counterparts like NtOpenEvent and NtCreateE… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sandbox/win/src/interceptors_64.cc ('k') | sandbox/win/src/sync_dispatcher.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « sandbox/win/src/interceptors_64.cc ('k') | sandbox/win/src/sync_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698