| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_SRC_NT_INTERNALS_H__ | 7 #ifndef SANDBOX_SRC_NT_INTERNALS_H__ |
| 8 #define SANDBOX_SRC_NT_INTERNALS_H__ | 8 #define SANDBOX_SRC_NT_INTERNALS_H__ |
| 9 | 9 |
| 10 #include <windows.h> | 10 #include <windows.h> |
| (...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 347 IN ULONG TitleIndex, | 347 IN ULONG TitleIndex, |
| 348 IN PUNICODE_STRING Class OPTIONAL, | 348 IN PUNICODE_STRING Class OPTIONAL, |
| 349 IN ULONG CreateOptions, | 349 IN ULONG CreateOptions, |
| 350 OUT PULONG Disposition OPTIONAL); | 350 OUT PULONG Disposition OPTIONAL); |
| 351 | 351 |
| 352 typedef NTSTATUS (WINAPI *NtOpenKeyFunction)( | 352 typedef NTSTATUS (WINAPI *NtOpenKeyFunction)( |
| 353 OUT PHANDLE KeyHandle, | 353 OUT PHANDLE KeyHandle, |
| 354 IN ACCESS_MASK DesiredAccess, | 354 IN ACCESS_MASK DesiredAccess, |
| 355 IN POBJECT_ATTRIBUTES ObjectAttributes); | 355 IN POBJECT_ATTRIBUTES ObjectAttributes); |
| 356 | 356 |
| 357 typedef NTSTATUS (WINAPI *NtOpenKeyExFunction)( |
| 358 OUT PHANDLE KeyHandle, |
| 359 IN ACCESS_MASK DesiredAccess, |
| 360 IN POBJECT_ATTRIBUTES ObjectAttributes, |
| 361 IN DWORD unknown); // TODO(nsylvain): define this. bug 7611 |
| 362 |
| 357 // ----------------------------------------------------------------------- | 363 // ----------------------------------------------------------------------- |
| 358 // Memory | 364 // Memory |
| 359 | 365 |
| 360 // Don't really need this structure right now. | 366 // Don't really need this structure right now. |
| 361 typedef PVOID PRTL_HEAP_PARAMETERS; | 367 typedef PVOID PRTL_HEAP_PARAMETERS; |
| 362 | 368 |
| 363 typedef PVOID (WINAPI *RtlCreateHeapFunction)( | 369 typedef PVOID (WINAPI *RtlCreateHeapFunction)( |
| 364 IN ULONG Flags, | 370 IN ULONG Flags, |
| 365 IN PVOID HeapBase OPTIONAL, | 371 IN PVOID HeapBase OPTIONAL, |
| 366 IN SIZE_T ReserveSize OPTIONAL, | 372 IN SIZE_T ReserveSize OPTIONAL, |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 496 IN PCUNICODE_STRING String2, | 502 IN PCUNICODE_STRING String2, |
| 497 IN BOOLEAN CaseInSensitive); | 503 IN BOOLEAN CaseInSensitive); |
| 498 | 504 |
| 499 typedef VOID (WINAPI *RtlInitUnicodeStringFunction) ( | 505 typedef VOID (WINAPI *RtlInitUnicodeStringFunction) ( |
| 500 IN OUT PUNICODE_STRING DestinationString, | 506 IN OUT PUNICODE_STRING DestinationString, |
| 501 IN PCWSTR SourceString); | 507 IN PCWSTR SourceString); |
| 502 | 508 |
| 503 #endif // SANDBOX_SRC_NT_INTERNALS_H__ | 509 #endif // SANDBOX_SRC_NT_INTERNALS_H__ |
| 504 | 510 |
| 505 | 511 |
| OLD | NEW |