Skip to content

Commit 5d47a81

Browse files
committed
Update ntpebteb.h
1 parent 0f8c032 commit 5d47a81

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

phnt/include/ntpebteb.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,4 +442,10 @@ typedef struct _TEB
442442
ULONGLONG ExtendedFeatureDisableMask;
443443
} TEB, *PTEB;
444444

445+
#ifdef _WIN64
446+
C_ASSERT(sizeof(TEB) == 0x1850); // WIN11
447+
#else
448+
C_ASSERT(sizeof(TEB) == 0x1018); // WIN11
449+
#endif
450+
445451
#endif

0 commit comments

Comments
 (0)