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

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

Issue 84063004: Restructure sandbox code to reduce dependencies pulled in by intercept code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cpu@ comments Created 7 years 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
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 583 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 IN const char* _Str1, 594 IN const char* _Str1,
595 IN const char* _Str2, 595 IN const char* _Str2,
596 IN size_t _MaxCount); 596 IN size_t _MaxCount);
597 597
598 typedef size_t (__cdecl *strlenFunction)( 598 typedef size_t (__cdecl *strlenFunction)(
599 IN const char * _Str); 599 IN const char * _Str);
600 600
601 typedef size_t (__cdecl *wcslenFunction)( 601 typedef size_t (__cdecl *wcslenFunction)(
602 IN const wchar_t* _Str); 602 IN const wchar_t* _Str);
603 603
604 typedef void* (__cdecl *memcpyFunction)(
605 IN void *dest,
rvargas (doing something else) 2013/12/02 20:05:33 nit: * should be part of the type, not the variabl
robertshield 2013/12/03 18:53:51 Done.
606 IN const void *src,
607 IN size_t count);
608
604 typedef NTSTATUS (WINAPI *RtlAnsiStringToUnicodeStringFunction)( 609 typedef NTSTATUS (WINAPI *RtlAnsiStringToUnicodeStringFunction)(
605 IN OUT PUNICODE_STRING DestinationString, 610 IN OUT PUNICODE_STRING DestinationString,
606 IN PANSI_STRING SourceString, 611 IN PANSI_STRING SourceString,
607 IN BOOLEAN AllocateDestinationString); 612 IN BOOLEAN AllocateDestinationString);
608 613
609 typedef LONG (WINAPI *RtlCompareUnicodeStringFunction)( 614 typedef LONG (WINAPI *RtlCompareUnicodeStringFunction)(
610 IN PCUNICODE_STRING String1, 615 IN PCUNICODE_STRING String1,
611 IN PCUNICODE_STRING String2, 616 IN PCUNICODE_STRING String2,
612 IN BOOLEAN CaseInSensitive); 617 IN BOOLEAN CaseInSensitive);
613 618
(...skipping 22 matching lines...) Expand all
636 POBJECT_ATTRIBUTES ObjectAttributes); 641 POBJECT_ATTRIBUTES ObjectAttributes);
637 642
638 #define DIRECTORY_QUERY 0x0001 643 #define DIRECTORY_QUERY 0x0001
639 #define DIRECTORY_TRAVERSE 0x0002 644 #define DIRECTORY_TRAVERSE 0x0002
640 #define DIRECTORY_CREATE_OBJECT 0x0004 645 #define DIRECTORY_CREATE_OBJECT 0x0004
641 #define DIRECTORY_CREATE_SUBDIRECTORY 0x0008 646 #define DIRECTORY_CREATE_SUBDIRECTORY 0x0008
642 #define DIRECTORY_ALL_ACCESS 0x000F 647 #define DIRECTORY_ALL_ACCESS 0x000F
643 648
644 #endif // SANDBOX_WIN_SRC_NT_INTERNALS_H__ 649 #endif // SANDBOX_WIN_SRC_NT_INTERNALS_H__
645 650
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698