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

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

Issue 1538283002: Switch to standard integer types in sandbox/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: macros Created 5 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
« 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>
11 12
12 typedef LONG NTSTATUS; 13 typedef LONG NTSTATUS;
13 #define NT_SUCCESS(st) (st >= 0) 14 #define NT_SUCCESS(st) (st >= 0)
14 15
15 #define STATUS_SUCCESS ((NTSTATUS)0x00000000L) 16 #define STATUS_SUCCESS ((NTSTATUS)0x00000000L)
16 #define STATUS_BUFFER_OVERFLOW ((NTSTATUS)0x80000005L) 17 #define STATUS_BUFFER_OVERFLOW ((NTSTATUS)0x80000005L)
17 #define STATUS_UNSUCCESSFUL ((NTSTATUS)0xC0000001L) 18 #define STATUS_UNSUCCESSFUL ((NTSTATUS)0xC0000001L)
18 #define STATUS_NOT_IMPLEMENTED ((NTSTATUS)0xC0000002L) 19 #define STATUS_NOT_IMPLEMENTED ((NTSTATUS)0xC0000002L)
19 #define STATUS_INFO_LENGTH_MISMATCH ((NTSTATUS)0xC0000004L) 20 #define STATUS_INFO_LENGTH_MISMATCH ((NTSTATUS)0xC0000004L)
20 #ifndef STATUS_INVALID_PARAMETER 21 #ifndef STATUS_INVALID_PARAMETER
(...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after
693 694
694 struct PROCESS_ACCESS_TOKEN { 695 struct PROCESS_ACCESS_TOKEN {
695 HANDLE token; 696 HANDLE token;
696 HANDLE thread; 697 HANDLE thread;
697 }; 698 };
698 699
699 const unsigned int NtProcessInformationAccessToken = 9; 700 const unsigned int NtProcessInformationAccessToken = 9;
700 701
701 #endif // SANDBOX_WIN_SRC_NT_INTERNALS_H__ 702 #endif // SANDBOX_WIN_SRC_NT_INTERNALS_H__
702 703
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