| Index: sandbox/win/src/nt_internals.h
|
| diff --git a/sandbox/win/src/nt_internals.h b/sandbox/win/src/nt_internals.h
|
| index 40b29c6beb3276415bf845b19deb9458bca08a21..010f7cb031e63254ec3a6cba7f57d0c13416ee4a 100644
|
| --- a/sandbox/win/src/nt_internals.h
|
| +++ b/sandbox/win/src/nt_internals.h
|
| @@ -308,15 +308,27 @@ typedef enum _PROCESSINFOCLASS {
|
| } PROCESSINFOCLASS;
|
|
|
| typedef PVOID PPEB;
|
| -typedef PVOID KPRIORITY;
|
| +typedef LONG KPRIORITY;
|
|
|
| typedef struct _PROCESS_BASIC_INFORMATION {
|
| - NTSTATUS ExitStatus;
|
| + union {
|
| + NTSTATUS ExitStatus;
|
| + PVOID padding_for_x64_0;
|
| + };
|
| PPEB PebBaseAddress;
|
| KAFFINITY AffinityMask;
|
| - KPRIORITY BasePriority;
|
| - ULONG UniqueProcessId;
|
| - ULONG InheritedFromUniqueProcessId;
|
| + union {
|
| + KPRIORITY BasePriority;
|
| + PVOID padding_for_x64_1;
|
| + };
|
| + union {
|
| + DWORD UniqueProcessId;
|
| + PVOID padding_for_x64_2;
|
| + };
|
| + union {
|
| + DWORD InheritedFromUniqueProcessId;
|
| + PVOID padding_for_x64_3;
|
| + };
|
| } PROCESS_BASIC_INFORMATION, *PPROCESS_BASIC_INFORMATION;
|
|
|
| typedef NTSTATUS (WINAPI *NtQueryInformationProcessFunction)(
|
|
|