mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 12:35:57 +00:00
[SDK] Improve definition of (RTL_)CRITICAL_SECTION_DEBUG
This commit is contained in:
parent
a444572c3e
commit
c7eba0c5c7
5 changed files with 40 additions and 14 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue