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

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

Issue 41193002: Attempt3 at landing this. The previous attempt failed on Windows XP because the \Sessions\Session i… (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 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
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