[SDK] Improve definition of (RTL_)CRITICAL_SECTION_DEBUG

This commit is contained in:
Timo Kreuzer 2024-12-13 17:03:29 +02:00
parent a444572c3e
commit c7eba0c5c7
5 changed files with 40 additions and 14 deletions

View file

@ -2791,9 +2791,17 @@ typedef struct _RTL_CRITICAL_SECTION_DEBUG {
LIST_ENTRY ProcessLocksList;
DWORD EntryCount;
DWORD ContentionCount;
DWORD Flags;
WORD CreatorBackTraceIndexHigh;
WORD SpareWORD;
union
{
DWORD_PTR WineDebugString;
DWORD_PTR Spare[1];
struct
{
DWORD Flags;
WORD CreatorBackTraceIndexHigh;
WORD SpareWORD;
};
};
} RTL_CRITICAL_SECTION_DEBUG, *PRTL_CRITICAL_SECTION_DEBUG, RTL_RESOURCE_DEBUG, *PRTL_RESOURCE_DEBUG;
#include "pshpack8.h"