COMPATIBILITY_CONTEXT_ELEMENT breaking change in 10.0.18362.0 #661
Unanswered
KalleOlaviNiemitalo
asked this question in
Q&A
Replies: 1 comment
-
@sotteson1 what are your thoughts on this? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The COMPATIBILITY_CONTEXT_ELEMENT structure in <winnt.h> got a new member
ULONGLONG MaxVersionTested
between Windows SDK versions 10.0.17763.0 and 10.0.18362.0. This changed sizeof(COMPATIBILITY_CONTEXT_ELEMENT) from 20 to 32. The ACTIVATION_CONTEXT_COMPATIBILITY_INFORMATION structure has a trailing arrayCOMPATIBILITY_CONTEXT_ELEMENT Elements[]
, which cannot be correctly indexed if the element size does not match. <winnt.h> does not make the earlier versions of these structures available in any way.Changes like that should hopefully be rare. If they do occur, should win32metadata publish both definitions, even though the headers don't?
More details about the change on an archived MSDN forum.
Beta Was this translation helpful? Give feedback.
All reactions