OLD | NEW |
1 // Copyright (c) 2006-2010 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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> |
11 | 11 |
(...skipping 582 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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, |
| 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 Loading... |
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 |
OLD | NEW |