mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 08:00:24 +00:00
[KERNEL32] Align the PROCESS_PRIORITY_CLASS variable in GetPriorityClass on a 4-byte boundary.
Fixes CORE-16757. This is required for NtQueryInformationProcess as proven by my test application in the bug report.
This commit is contained in:
parent
ea26bef01d
commit
fd8080b094
1 changed files with 1 additions and 1 deletions
|
@ -1658,7 +1658,7 @@ WINAPI
|
|||
GetPriorityClass(IN HANDLE hProcess)
|
||||
{
|
||||
NTSTATUS Status;
|
||||
PROCESS_PRIORITY_CLASS PriorityClass;
|
||||
PROCESS_PRIORITY_CLASS DECLSPEC_ALIGN(4) PriorityClass;
|
||||
|
||||
/* Query the kernel */
|
||||
Status = NtQueryInformationProcess(hProcess,
|
||||
|
|
Loading…
Reference in a new issue