summaryrefslogtreecommitdiffstats
path: root/sandbox/win/src/nt_internals.h
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/win/src/nt_internals.h')
-rw-r--r--sandbox/win/src/nt_internals.h16
1 files changed, 12 insertions, 4 deletions
diff --git a/sandbox/win/src/nt_internals.h b/sandbox/win/src/nt_internals.h
index fe4fcd6..c9aaf92 100644
--- a/sandbox/win/src/nt_internals.h
+++ b/sandbox/win/src/nt_internals.h
@@ -4,8 +4,8 @@
// This file holds definitions related to the ntdll API.
-#ifndef SANDBOX_SRC_NT_INTERNALS_H__
-#define SANDBOX_SRC_NT_INTERNALS_H__
+#ifndef SANDBOX_WIN_SRC_NT_INTERNALS_H__
+#define SANDBOX_WIN_SRC_NT_INTERNALS_H__
#include <windows.h>
@@ -292,7 +292,8 @@ typedef NTSTATUS (WINAPI *NtSetInformationThreadFunction) (
// Partial definition only:
typedef enum _PROCESSINFOCLASS {
- ProcessBasicInformation = 0
+ ProcessBasicInformation = 0,
+ ProcessExecuteFlags = 0x22
} PROCESSINFOCLASS;
typedef PVOID PPEB;
@@ -314,6 +315,12 @@ typedef NTSTATUS (WINAPI *NtQueryInformationProcessFunction)(
IN ULONG ProcessInformationLength,
OUT PULONG ReturnLength OPTIONAL);
+typedef NTSTATUS (WINAPI *NtSetInformationProcessFunction)(
+ HANDLE ProcessHandle,
+ IN PROCESSINFOCLASS ProcessInformationClass,
+ IN PVOID ProcessInformation,
+ IN ULONG ProcessInformationLength);
+
typedef NTSTATUS (WINAPI *NtOpenThreadTokenFunction) (
IN HANDLE ThreadHandle,
IN ACCESS_MASK DesiredAccess,
@@ -608,4 +615,5 @@ typedef VOID (WINAPI *RtlInitUnicodeStringFunction) (
IN OUT PUNICODE_STRING DestinationString,
IN PCWSTR SourceString);
-#endif // SANDBOX_SRC_NT_INTERNALS_H__
+#endif // SANDBOX_WIN_SRC_NT_INTERNALS_H__
+