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

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

Issue 1539423002: Revert of Switch to standard integer types in sandbox/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months 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
« no previous file with comments | « sandbox/win/src/named_pipe_policy.h ('k') | sandbox/win/src/policy_broker.cc » ('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 2013 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 #include <stddef.h>
12 11
13 typedef LONG NTSTATUS; 12 typedef LONG NTSTATUS;
14 #define NT_SUCCESS(st) (st >= 0) 13 #define NT_SUCCESS(st) (st >= 0)
15 14
16 #define STATUS_SUCCESS ((NTSTATUS)0x00000000L) 15 #define STATUS_SUCCESS ((NTSTATUS)0x00000000L)
17 #define STATUS_BUFFER_OVERFLOW ((NTSTATUS)0x80000005L) 16 #define STATUS_BUFFER_OVERFLOW ((NTSTATUS)0x80000005L)
18 #define STATUS_UNSUCCESSFUL ((NTSTATUS)0xC0000001L) 17 #define STATUS_UNSUCCESSFUL ((NTSTATUS)0xC0000001L)
19 #define STATUS_NOT_IMPLEMENTED ((NTSTATUS)0xC0000002L) 18 #define STATUS_NOT_IMPLEMENTED ((NTSTATUS)0xC0000002L)
20 #define STATUS_INFO_LENGTH_MISMATCH ((NTSTATUS)0xC0000004L) 19 #define STATUS_INFO_LENGTH_MISMATCH ((NTSTATUS)0xC0000004L)
21 #ifndef STATUS_INVALID_PARAMETER 20 #ifndef STATUS_INVALID_PARAMETER
(...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after
694 693
695 struct PROCESS_ACCESS_TOKEN { 694 struct PROCESS_ACCESS_TOKEN {
696 HANDLE token; 695 HANDLE token;
697 HANDLE thread; 696 HANDLE thread;
698 }; 697 };
699 698
700 const unsigned int NtProcessInformationAccessToken = 9; 699 const unsigned int NtProcessInformationAccessToken = 9;
701 700
702 #endif // SANDBOX_WIN_SRC_NT_INTERNALS_H__ 701 #endif // SANDBOX_WIN_SRC_NT_INTERNALS_H__
703 702
OLDNEW
« no previous file with comments | « sandbox/win/src/named_pipe_policy.h ('k') | sandbox/win/src/policy_broker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698