mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 04:33:12 +00:00
[0.4.14][SDK][NDK][PSTYPES] Fix regressions CORE-17247 & CORE-17106
By reverting the guilty rev 0.4.14-dev-1239-g7481bda679
and placing a C_ASSERT() to protect us from doing the same fault again in the future. (proposed by Mark Jansen) This will allow again to use kernel32.dll from 2k3sp2 to reach desktop and it will allow Google Earth to run again. Unfortunately it will break CORE-16757 again, but we did not ship that improvement yet and we believe that revert to be correct. When approaching CORE-16757 later, make sure to double-check also CORE-17247 & CORE-17106 with your fix. We did excessive testing here, see https://jira.reactos.org/browse/CORE-17247?focusedCommentId=125166&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-125166 fix cherry picked from commit 0.4.15-dev-730-gabbe656407
This commit is contained in:
parent
f1fed684a5
commit
b30846ab77
1 changed files with 4 additions and 1 deletions
|
@ -902,12 +902,15 @@ typedef struct _PROCESS_SESSION_INFORMATION
|
|||
|
||||
#endif
|
||||
|
||||
typedef struct DECLSPEC_ALIGN(4) _PROCESS_PRIORITY_CLASS
|
||||
typedef struct _PROCESS_PRIORITY_CLASS
|
||||
{
|
||||
BOOLEAN Foreground;
|
||||
UCHAR PriorityClass;
|
||||
} PROCESS_PRIORITY_CLASS, *PPROCESS_PRIORITY_CLASS;
|
||||
|
||||
// Compatibility with windows, see CORE-16757, CORE-17106, CORE-17247
|
||||
C_ASSERT(sizeof(PROCESS_PRIORITY_CLASS) == 2);
|
||||
|
||||
typedef struct _PROCESS_FOREGROUND_BACKGROUND
|
||||
{
|
||||
BOOLEAN Foreground;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue