[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

@ -908,11 +908,17 @@ typedef struct _CRITICAL_SECTION_DEBUG {
LIST_ENTRY ProcessLocksList;
DWORD EntryCount;
DWORD ContentionCount;
//#ifdef __WINESRC__ //not all wine code is marked so
DWORD_PTR Spare[8/sizeof(DWORD_PTR)];/* in Wine they store a string here */
//#else
//WORD SpareWORD;
//#endif
union
{
DWORD_PTR WineDebugString;
DWORD_PTR Spare[1];
struct
{
DWORD Flags;
WORD CreatorBackTraceIndexHigh;
WORD SpareWORD;
};
};
} CRITICAL_SECTION_DEBUG,*PCRITICAL_SECTION_DEBUG,*LPCRITICAL_SECTION_DEBUG;
typedef struct _CRITICAL_SECTION {