mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 15:43:19 +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
|
@ -1423,9 +1423,25 @@ typedef struct _RTL_CRITICAL_SECTION_DEBUG
|
|||
LIST_ENTRY ProcessLocksList;
|
||||
ULONG EntryCount;
|
||||
ULONG ContentionCount;
|
||||
ULONG Spare[2];
|
||||
union
|
||||
{
|
||||
ULONG_PTR WineDebugString;
|
||||
ULONG_PTR Spare[1];
|
||||
struct
|
||||
{
|
||||
ULONG Flags;
|
||||
USHORT CreatorBackTraceIndexHigh;
|
||||
USHORT SpareWORD;
|
||||
};
|
||||
};
|
||||
} RTL_CRITICAL_SECTION_DEBUG, *PRTL_CRITICAL_SECTION_DEBUG, RTL_RESOURCE_DEBUG, *PRTL_RESOURCE_DEBUG;
|
||||
|
||||
#ifdef _WIN64
|
||||
C_ASSERT(sizeof(RTL_CRITICAL_SECTION_DEBUG) == 0x30);
|
||||
#else
|
||||
C_ASSERT(sizeof(RTL_CRITICAL_SECTION_DEBUG) == 0x20);
|
||||
#endif
|
||||
|
||||
typedef struct _RTL_CRITICAL_SECTION
|
||||
{
|
||||
PRTL_CRITICAL_SECTION_DEBUG DebugInfo;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue